Commit 6140393a authored by Sergei Golubchik's avatar Sergei Golubchik

HA_ERR_TABLE_DEF_CHANGED is normal situation, not an server-wide exception,

don't log it to the error log.
parent de048905
......@@ -16912,7 +16912,7 @@ int report_error(TABLE *table, int error)
print them to the .err log
*/
if (error != HA_ERR_LOCK_DEADLOCK && error != HA_ERR_LOCK_WAIT_TIMEOUT
&& !table->in_use->killed)
&& error != HA_ERR_TABLE_DEF_CHANGED && !table->in_use->killed)
{
push_warning_printf(table->in_use, MYSQL_ERROR::WARN_LEVEL_WARN, error,
"Got error %d when reading table %`s.%`s",
......
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