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 -
This commit is contained in:
lacak 2012-12-07 11:12:14 +00:00
parent fb3a6f9054
commit bc25c4b297

View File

@ -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}