mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-6781: bug with query cache when using views
The data base lenth passed to invalidator fixed
This commit is contained in:
@ -3280,7 +3280,7 @@ Query_cache::register_tables_from_list(THD *thd, TABLE_LIST *tables_used,
|
|||||||
There are not callback function for for VIEWs
|
There are not callback function for for VIEWs
|
||||||
*/
|
*/
|
||||||
if (!insert_table(key_length, key, (*block_table),
|
if (!insert_table(key_length, key, (*block_table),
|
||||||
tables_used->view_db.length + 1,
|
tables_used->view_db.length,
|
||||||
HA_CACHE_TBL_NONTRANSACT, 0, 0, TRUE))
|
HA_CACHE_TBL_NONTRANSACT, 0, 0, TRUE))
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user