Commit cd2fbb01 authored by lars@mysql.com's avatar lars@mysql.com

BUG#6883: Changed comment, style

parent 2b3c8b9d
......@@ -2420,8 +2420,8 @@ mysql_execute_command(THD *thd)
}
else
{
/* So that CREATE TEMPORARY TABLE gets flushed to binlog */
thd->options|= (OPTION_STATUS_NO_TRANS_UPDATE);
/* So that CREATE TEMPORARY TABLE gets to binlog at commit/rollback */
thd->options|= OPTION_STATUS_NO_TRANS_UPDATE;
}
/* Skip first table, which is the table we are creating */
TABLE_LIST *create_table, *create_table_local;
......@@ -2989,8 +2989,8 @@ mysql_execute_command(THD *thd)
if (thd->slave_thread)
lex->drop_if_exists= 1;
/* So that DROP TEMPORARY TABLE gets flushed to binlog */
thd->options|= (OPTION_STATUS_NO_TRANS_UPDATE);
/* So that DROP TEMPORARY TABLE gets to binlog at commit/rollback */
thd->options|= OPTION_STATUS_NO_TRANS_UPDATE;
}
res= mysql_rm_table(thd,tables,lex->drop_if_exists, lex->drop_temporary);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment