Commit b2ec9d09 authored by unknown's avatar unknown

BUG#6883: Changed comment, style


sql/sql_parse.cc:
  Changed comment, style
parent b192f86e
...@@ -2420,8 +2420,8 @@ mysql_execute_command(THD *thd) ...@@ -2420,8 +2420,8 @@ mysql_execute_command(THD *thd)
} }
else else
{ {
/* So that CREATE TEMPORARY TABLE gets flushed to binlog */ /* So that CREATE TEMPORARY TABLE gets to binlog at commit/rollback */
thd->options|= (OPTION_STATUS_NO_TRANS_UPDATE); thd->options|= OPTION_STATUS_NO_TRANS_UPDATE;
} }
/* Skip first table, which is the table we are creating */ /* Skip first table, which is the table we are creating */
TABLE_LIST *create_table, *create_table_local; TABLE_LIST *create_table, *create_table_local;
...@@ -2989,8 +2989,8 @@ mysql_execute_command(THD *thd) ...@@ -2989,8 +2989,8 @@ mysql_execute_command(THD *thd)
if (thd->slave_thread) if (thd->slave_thread)
lex->drop_if_exists= 1; lex->drop_if_exists= 1;
/* So that DROP TEMPORARY TABLE gets flushed to binlog */ /* So that DROP TEMPORARY TABLE gets to binlog at commit/rollback */
thd->options|= (OPTION_STATUS_NO_TRANS_UPDATE); thd->options|= OPTION_STATUS_NO_TRANS_UPDATE;
} }
res= mysql_rm_table(thd,tables,lex->drop_if_exists, lex->drop_temporary); 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