mirror of
https://github.com/MariaDB/server.git
synced 2025-12-03 05:41:09 +03:00
Portability fixes
This commit is contained in:
@@ -1559,7 +1559,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&= ~(ulong) (OPTION_BEGIN);
|
||||
|
||||
Reference in New Issue
Block a user