From bc25c4b297da56f33dbf2827783d8c10b1f1a565 Mon Sep 17 00:00:00 2001 From: lacak Date: Fri, 7 Dec 2012 11:12:14 +0000 Subject: [PATCH] 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 - --- packages/fcl-db/tests/sqldbtoolsunit.pas | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/fcl-db/tests/sqldbtoolsunit.pas b/packages/fcl-db/tests/sqldbtoolsunit.pas index 1238159290..c91e3d8da3 100644 --- a/packages/fcl-db/tests/sqldbtoolsunit.pas +++ b/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}