mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
sql_parse.cc test for changing to auto_commit mode was backwards
ha_berkeley.cc bug fixes to make OPT_BEGIN work properly handler.cc bug fixes to make OPT_BEGIN work properly sql/handler.cc: bug fixes to make OPT_BEGIN work properly sql/ha_berkeley.cc: bug fixes to make OPT_BEGIN work properly sql/sql_parse.cc: test for changing to auto_commit mode was backwards
This commit is contained in:
@ -1536,7 +1536,7 @@ mysql_execute_command(void)
|
||||
/* Check if auto_commit mode changed */
|
||||
if ((org_options ^ lex->options) & OPTION_AUTO_COMMIT)
|
||||
{
|
||||
if (org_options & OPTION_AUTO_COMMIT)
|
||||
if (!org_options & OPTION_AUTO_COMMIT)
|
||||
{
|
||||
/* We changed to auto_commit mode */
|
||||
thd->options&= ~OPTION_BEGIN;
|
||||
|
Reference in New Issue
Block a user