mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
sql_select.cc:
Fix a glitch reported by Philippe Lewicki on the general mailing list: do not print a warning to the .err log if read_key fails with a lock wait timeout error 146 sql/sql_select.cc: Fix a glitch reported by Philippe Lewicki on the general mailing list: do not print a warning to the .err log if read_key fails with a lock wait timeout error 146
This commit is contained in:
parent
d94cf5fbfb
commit
26764a7bfa
1 changed files with 2 additions and 1 deletions
|
|
@ -4995,7 +4995,8 @@ join_read_key(JOIN_TAB *tab)
|
|||
tab->ref.key_length,HA_READ_KEY_EXACT);
|
||||
if (error && error != HA_ERR_KEY_NOT_FOUND)
|
||||
{
|
||||
sql_print_error("read_key: Got error %d when reading table '%s'",error,
|
||||
if (error != HA_ERR_LOCK_DEADLOCK && error != HA_ERR_LOCK_WAIT_TIMEOUT)
|
||||
sql_print_error("read_key: Got error %d when reading table '%s'",error,
|
||||
table->path);
|
||||
table->file->print_error(error,MYF(0));
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue