1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Debugging output fixed to make finding executing commands easy.

Error processing in mysql_create_table() fixed.
This commit is contained in:
unknown
2013-06-17 13:34:54 +03:00
parent 47da65eed3
commit 0b7f8ed973
2 changed files with 4 additions and 2 deletions

View File

@@ -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);
}