Commit 633fcac1 authored by Annamalai Gurusami's avatar Annamalai Gurusami

Merge from mysql-5.1 to mysql-5.5.

parents e915eeca 9b92ce0d
...@@ -12075,7 +12075,8 @@ int report_error(TABLE *table, int error) ...@@ -12075,7 +12075,8 @@ int report_error(TABLE *table, int error)
Locking reads can legally return also these errors, do not Locking reads can legally return also these errors, do not
print them to the .err log print them to the .err log
*/ */
if (error != HA_ERR_LOCK_DEADLOCK && error != HA_ERR_LOCK_WAIT_TIMEOUT) if (error != HA_ERR_LOCK_DEADLOCK && error != HA_ERR_LOCK_WAIT_TIMEOUT
&& !table->in_use->killed)
sql_print_error("Got error %d when reading table '%s'", sql_print_error("Got error %d when reading table '%s'",
error, table->s->path.str); error, table->s->path.str);
table->file->print_error(error,MYF(0)); table->file->print_error(error,MYF(0));
......
...@@ -5878,6 +5878,7 @@ ha_innobase::index_read( ...@@ -5878,6 +5878,7 @@ ha_innobase::index_read(
ulint ret; ulint ret;
DBUG_ENTER("index_read"); DBUG_ENTER("index_read");
DEBUG_SYNC_C("ha_innobase_index_read_begin");
ut_a(prebuilt->trx == thd_to_trx(user_thd)); ut_a(prebuilt->trx == thd_to_trx(user_thd));
ut_ad(key_len != 0 || find_flag != HA_READ_KEY_EXACT); ut_ad(key_len != 0 || find_flag != HA_READ_KEY_EXACT);
......
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