mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
now all tables of query are locked in one place (including derived tables)
fixed BUG#2120 and other problem with EXPLAINing derived tables
This commit is contained in:
@ -732,7 +732,7 @@ static int fetch_db_tables(THD *thd, MYSQL *mysql, const char *db,
|
||||
int error;
|
||||
if (table_rules_on)
|
||||
{
|
||||
table.next= 0;
|
||||
bzero((char*) &table, sizeof(table)); //just for safe
|
||||
table.db= (char*) db;
|
||||
table.real_name= (char*) table_name;
|
||||
table.updating= 1;
|
||||
|
Reference in New Issue
Block a user