mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
A follow up patch for WL#5000: add a test case
and a comment for the case when a connection issuing FLUSH TABLES <list> WITH READ LOCK has an open handler.
This commit is contained in:
@@ -1750,6 +1750,17 @@ int prepare_schema_table(THD *thd, LEX *lex, Table_ident *table_ident,
|
||||
If a temporary table with such name exists, it's ignored:
|
||||
if there is a base table, it's used, otherwise ER_NO_SUCH_TABLE
|
||||
is returned.
|
||||
|
||||
Implicit commit
|
||||
---------------
|
||||
This statement causes an implicit commit before and
|
||||
after it.
|
||||
|
||||
HANDLER SQL
|
||||
-----------
|
||||
If this connection has HANDLERs open against
|
||||
some of the tables being FLUSHed, these handlers
|
||||
are implicitly flushed (lose their position).
|
||||
*/
|
||||
|
||||
static bool flush_tables_with_read_lock(THD *thd, TABLE_LIST *all_tables)
|
||||
|
Reference in New Issue
Block a user