summaryrefslogtreecommitdiff
path: root/innobase/que
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/que')
-rw-r--r--innobase/que/que0que.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/innobase/que/que0que.c b/innobase/que/que0que.c
index b90a5eb3a61..b2608b6d175 100644
--- a/innobase/que/que0que.c
+++ b/innobase/que/que0que.c
@@ -483,7 +483,7 @@ que_graph_free_recursive(
if (thr->magic_n != QUE_THR_MAGIC_N) {
fprintf(stderr,
"que_thr struct appears corrupt; magic n %lu\n",
- thr->magic_n);
+ (unsigned long) thr->magic_n);
mem_analyze_corruption((byte*)thr);
ut_error;
}
@@ -595,7 +595,7 @@ que_graph_free_recursive(
default:
fprintf(stderr,
"que_node struct appears corrupt; type %lu\n",
- que_node_get_type(node));
+ (unsigned long) que_node_get_type(node));
mem_analyze_corruption((byte*)node);
ut_error;
}
@@ -983,7 +983,8 @@ que_thr_move_to_run_state_for_mysql(
{
if (thr->magic_n != QUE_THR_MAGIC_N) {
fprintf(stderr,
- "que_thr struct appears corrupt; magic n %lu\n", thr->magic_n);
+ "que_thr struct appears corrupt; magic n %lu\n",
+ (unsigned long) thr->magic_n);
mem_analyze_corruption((byte*)thr);
@@ -1019,7 +1020,8 @@ que_thr_stop_for_mysql_no_error(
if (thr->magic_n != QUE_THR_MAGIC_N) {
fprintf(stderr,
- "que_thr struct appears corrupt; magic n %lu\n", thr->magic_n);
+ "que_thr struct appears corrupt; magic n %lu\n",
+ (unsigned long) thr->magic_n);
mem_analyze_corruption((byte*)thr);
@@ -1092,7 +1094,7 @@ que_node_print_info(
str = "UNKNOWN NODE TYPE";
}
- fprintf(stderr, "Node type %lu: %s, address %p\n", type, str, node);
+ fprintf(stderr, "Node type %lu: %s, address %p\n", (ulong) type, str, node);
}
#endif /* UNIV_DEBUG */
@@ -1252,10 +1254,6 @@ loop:
mutex_exit(&kernel_mutex);
}
*/
- /* TRUE below denotes that the thread is allowed to own the dictionary
- mutex, though */
- ut_ad(sync_thread_levels_empty_gen(TRUE));
-
loop_count++;
if (next_thr != thr) {