Browse Source

fcl-db: tests: comment why test fails on Firebird

git-svn-id: trunk@39005 -
lacak 7 years ago
parent
commit
41024d1047

+ 2 - 1
packages/fcl-db/tests/database.ini.txt

@@ -60,7 +60,7 @@ name=fbembedtest.fdb
 user=sysdba
 password=masterkey
 hostname=
-charset=utf8
+charset=
 
 [mysql55]
 ; MySQL 5.5 database:
@@ -105,6 +105,7 @@ password=
 ; hostname=127.0.0.1\SQLEXPRESS
 ; See mssqlconn documentation
 hostname=127.0.0.1
+charset=utf8
 
 [odbc]
 ; ODBC database:

+ 1 - 0
packages/fcl-db/tests/testfieldtypes.pas

@@ -934,6 +934,7 @@ var
   i             : integer;
 
 begin
+  // Firebird has limit 32765 bytes, so this is 8191 characters when using UNICODE character set
   CreateTableWithFieldType(ftString,'VARCHAR(9000)');
   TestFieldDeclaration(ftString,9000*DBConnector.CharSize+1);