Browse Source

* Use capitalized table names in tests for MySQL

git-svn-id: trunk@13968 -
joost 16 years ago
parent
commit
6264145aa6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-db/tests/testfieldtypes.pas

+ 2 - 2
packages/fcl-db/tests/testfieldtypes.pas

@@ -926,7 +926,7 @@ end;
 
 procedure TTestFieldTypes.TestEmptyUpdateQuery;
 begin
-  TSQLDBConnector(DBConnector).Connection.ExecuteDirect('update fpdev set name=''nothing'' where (1=0)');
+  TSQLDBConnector(DBConnector).Connection.ExecuteDirect('update FPDEV set name=''nothing'' where (1=0)');
 end;
 
 procedure TTestFieldTypes.TestStringLargerThen8192;
@@ -1238,7 +1238,7 @@ begin
 // Firebird/Interbase need a commit after a DDL statement. Not necessary for the other connections
     TSQLDBConnector(DBConnector).Transaction.CommitRetaining;
     Connection.ExecuteDirect('insert into FPDEV2(ID,"NAME-TEST") values (1,''test1'')');
-    Query.SQL.Text := 'select * from fpdev2';
+    Query.SQL.Text := 'select * from FPDEV2';
     Query.Open;
     AssertEquals(1,Query.FieldByName('ID').AsInteger);
     AssertEquals('test1',Query.FieldByName('NAME-TEST').AsString);