MDEV-6781: bug with query cache when using views
The data base lenth passed to invalidator fixed
This commit is contained in:
parent
e73e1e7c7a
commit
63ca157c92
@ -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);
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user