mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:29:27 +02:00
parent
a49dc1d262
commit
b63bd2c749
@ -695,7 +695,7 @@ function TODBCConnection.StartDBTransaction(trans: TSQLHandle; AParams:string):
|
||||
var AutoCommit: SQLINTEGER;
|
||||
begin
|
||||
// set some connection attributes
|
||||
if StrToBoolDef(Params.Values['AUTOCOMMIT'], True) then
|
||||
if StrToBoolDef(Params.Values['AUTOCOMMIT'], False) then
|
||||
AutoCommit := SQL_AUTOCOMMIT_ON
|
||||
else
|
||||
AutoCommit := SQL_AUTOCOMMIT_OFF;
|
||||
|
Loading…
Reference in New Issue
Block a user