mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Cleanup's and more DBUG_PRINT's
- Rewrote bool Query_compressed_log_event::write() to make it more readable (no logic changes). - Changed DBUG_PRINT of 'is_error:' to 'is_error():' to make it easier to find error: in traces. - Ensure that 'db' is never null in Query_log_event (Simplified code).
This commit is contained in:
@ -5949,7 +5949,7 @@ mysql_execute_command(THD *thd)
|
||||
lex->create_info.set(DDL_options_st::OPT_IF_EXISTS);
|
||||
DBUG_ASSERT(lex->m_sql_cmd != NULL);
|
||||
res= lex->m_sql_cmd->execute(thd);
|
||||
DBUG_PRINT("result", ("res: %d killed: %d is_error: %d",
|
||||
DBUG_PRINT("result", ("res: %d killed: %d is_error(): %d",
|
||||
res, thd->killed, thd->is_error()));
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user