MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
virtual bool | handle_condition (THD *thd, uint sql_errno, const char *sqlstate, Sql_condition::enum_warning_level level, const char *msg, Sql_condition **cond_hdl) |
bool | need_reopen () const |
void | init () |
A helper class to process an error from mysql_lock_tables(). HANDLER READ statement's attempt to lock the subject table may get aborted if there is a pending DDL. In that case we close the table, reopen it, and try to read again. This is implicit and obscure, since HANDLER position is lost in the process, but it's the legacy server behaviour we should preserve.
Definition at line 443 of file sql_handler.cc.
|
virtual |
Handle an error from mysql_lock_tables(). Ignore ER_LOCK_ABORTED errors.
Definition at line 468 of file sql_handler.cc.