mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.11' into 11.4
This commit is contained in:
@@ -3553,6 +3553,7 @@ Query_cache::insert_table(THD *thd, size_t key_len, const char *key,
|
||||
if (table_block == 0)
|
||||
{
|
||||
DBUG_PRINT("qcache", ("Can't write table name to cache"));
|
||||
node->parent= NULL;
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
Query_cache_table *header= table_block->table();
|
||||
@@ -3576,6 +3577,7 @@ Query_cache::insert_table(THD *thd, size_t key_len, const char *key,
|
||||
DBUG_PRINT("qcache", ("Can't insert table to hash"));
|
||||
// write_block_data return locked block
|
||||
free_memory_block(table_block);
|
||||
node->parent= NULL;
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
char *db= header->db();
|
||||
|
Reference in New Issue
Block a user