Debugging output fixed to make finding executing commands easy.
Error processing in mysql_create_table() fixed.
This commit is contained in:
parent
47da65eed3
commit
0b7f8ed973
@ -4903,7 +4903,7 @@ void xid_cache_delete(XID_STATE *xid_state)
|
||||
int THD::decide_logging_format(TABLE_LIST *tables)
|
||||
{
|
||||
DBUG_ENTER("THD::decide_logging_format");
|
||||
DBUG_PRINT("info", ("query: %s", query()));
|
||||
DBUG_PRINT("info", ("Query: %s", query()));
|
||||
DBUG_PRINT("info", ("variables.binlog_format: %lu",
|
||||
variables.binlog_format));
|
||||
DBUG_PRINT("info", ("lex->get_stmt_unsafe_flags(): 0x%x",
|
||||
|
@ -4765,7 +4765,9 @@ bool mysql_create_table(THD *thd, TABLE_LIST *create_table,
|
||||
if (thd->is_current_stmt_binlog_format_row() && create_info->tmp_table())
|
||||
DBUG_RETURN(0);
|
||||
|
||||
result= write_bin_log(thd, TRUE, thd->query(), thd->query_length(), is_trans);
|
||||
if (!result)
|
||||
result= write_bin_log(thd, TRUE, thd->query(), thd->query_length(),
|
||||
is_trans);
|
||||
end:
|
||||
DBUG_RETURN(result);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user