mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 19:30:44 +02:00
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:
parent
fb3a6f9054
commit
bc25c4b297
@ -152,11 +152,7 @@ begin
|
|||||||
if SQLConnType = SQLITE3 then Fconnection := TSQLite3Connection.Create(nil);
|
if SQLConnType = SQLITE3 then Fconnection := TSQLite3Connection.Create(nil);
|
||||||
if SQLConnType = POSTGRESQL then Fconnection := TPQConnection.Create(nil);
|
if SQLConnType = POSTGRESQL then Fconnection := TPQConnection.Create(nil);
|
||||||
if SQLConnType = INTERBASE then Fconnection := TIBConnection.Create(nil);
|
if SQLConnType = INTERBASE then Fconnection := TIBConnection.Create(nil);
|
||||||
if SQLConnType = ODBC then
|
if SQLConnType = ODBC then Fconnection := TODBCConnection.Create(nil);
|
||||||
begin
|
|
||||||
Fconnection := TODBCConnection.Create(nil);
|
|
||||||
Fconnection.Params.Append('AutoCommit=false');
|
|
||||||
end;
|
|
||||||
{$IFNDEF Win64}
|
{$IFNDEF Win64}
|
||||||
if SQLConnType = ORACLE then Fconnection := TOracleConnection.Create(nil);
|
if SQLConnType = ORACLE then Fconnection := TOracleConnection.Create(nil);
|
||||||
{$ENDIF Win64}
|
{$ENDIF Win64}
|
||||||
|
Loading…
Reference in New Issue
Block a user