Browse Source

fcl-db: tests: starting from rev.23113 is AutoCommit OFF by default for TODBCConnection. So we does not need set it explicitly (reverts my previous commit in rev.23075)

git-svn-id: trunk@23121 -
lacak 12 years ago
parent
commit
bc25c4b297
1 changed files with 1 additions and 5 deletions
  1. 1 5
      packages/fcl-db/tests/sqldbtoolsunit.pas

+ 1 - 5
packages/fcl-db/tests/sqldbtoolsunit.pas

@@ -152,11 +152,7 @@ begin
   if SQLConnType = SQLITE3 then Fconnection := TSQLite3Connection.Create(nil);
   if SQLConnType = POSTGRESQL then Fconnection := TPQConnection.Create(nil);
   if SQLConnType = INTERBASE then Fconnection := TIBConnection.Create(nil);
-  if SQLConnType = ODBC then
-    begin
-    Fconnection := TODBCConnection.Create(nil);
-    Fconnection.Params.Append('AutoCommit=false');
-    end;
+  if SQLConnType = ODBC then Fconnection := TODBCConnection.Create(nil);
   {$IFNDEF Win64}
   if SQLConnType = ORACLE then Fconnection := TOracleConnection.Create(nil);
   {$ENDIF Win64}