Commit 0631f20f authored by Monty's avatar Monty

Fixed some DBUG_PRINT to use %p properly

parent c3f37c07
...@@ -831,7 +831,7 @@ class sp_head :private Query_arena, ...@@ -831,7 +831,7 @@ class sp_head :private Query_arena,
*/ */
DBUG_PRINT("info", ("lex->get_stmt_unsafe_flags(): 0x%x", DBUG_PRINT("info", ("lex->get_stmt_unsafe_flags(): 0x%x",
prelocking_ctx->get_stmt_unsafe_flags())); prelocking_ctx->get_stmt_unsafe_flags()));
DBUG_PRINT("info", ("sp_head(0x%p=%s)->unsafe_flags: 0x%x", DBUG_PRINT("info", ("sp_head(%p=%s)->unsafe_flags: 0x%x",
this, name()->str, unsafe_flags)); this, name()->str, unsafe_flags));
prelocking_ctx->set_stmt_unsafe_flags(unsafe_flags); prelocking_ctx->set_stmt_unsafe_flags(unsafe_flags);
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
......
...@@ -1140,7 +1140,8 @@ TABLE *THD::open_temporary_table(TMP_TABLE_SHARE *share, ...@@ -1140,7 +1140,8 @@ TABLE *THD::open_temporary_table(TMP_TABLE_SHARE *share,
thread_safe_increment32(&slave_open_temp_tables); thread_safe_increment32(&slave_open_temp_tables);
} }
DBUG_PRINT("tmptable", ("Opened table: '%s'.'%s'%p", table->s->db.str, DBUG_PRINT("tmptable", ("Opened table: '%s'.'%s table: %p",
table->s->db.str,
table->s->table_name.str, table)); table->s->table_name.str, table));
DBUG_RETURN(table); DBUG_RETURN(table);
} }
......
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