Commit 44aa4feb authored by marko's avatar marko

branches/zip: lock_rec_enqueue_waiting(): When a record lock wait occurs

in a dictionary operation, display also the name of the index.
parent ccd409b5
...@@ -1787,8 +1787,8 @@ lock_rec_enqueue_waiting( ...@@ -1787,8 +1787,8 @@ lock_rec_enqueue_waiting(
ut_print_timestamp(stderr); ut_print_timestamp(stderr);
fputs(" InnoDB: Error: a record lock wait happens" fputs(" InnoDB: Error: a record lock wait happens"
" in a dictionary operation!\n" " in a dictionary operation!\n"
"InnoDB: Table name ", stderr); "InnoDB: ", stderr);
ut_print_name(stderr, trx, TRUE, index->table_name); dict_index_name_print(stderr, trx, index);
fputs(".\n" fputs(".\n"
"InnoDB: Submit a detailed bug report" "InnoDB: Submit a detailed bug report"
" to http://bugs.mysql.com\n", " to http://bugs.mysql.com\n",
......
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