* Autocommit OFF by default, bug ID #23429

git-svn-id: trunk@23113 -
This commit is contained in:
michael 2012-12-04 19:54:03 +00:00
parent a49dc1d262
commit b63bd2c749

View File

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