diff options
author | unknown <sanja@askmonty.org> | 2014-10-07 19:38:45 +0200 |
---|---|---|
committer | unknown <sanja@askmonty.org> | 2014-10-07 19:38:45 +0200 |
commit | 63ca157c92e18e559db7032bc867362f5ec64a7b (patch) | |
tree | 9675a89bc61174bec42caf28dff56cab68a6d342 /sql/sql_cache.cc | |
parent | e73e1e7c7ac04295571a2f54872cacb2d580f4ae (diff) | |
download | mariadb-git-63ca157c92e18e559db7032bc867362f5ec64a7b.tar.gz |
MDEV-6781: bug with query cache when using views
The data base lenth passed to invalidator fixed
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index e6a795ba56e..ad0472cfc2c 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -3280,7 +3280,7 @@ Query_cache::register_tables_from_list(THD *thd, TABLE_LIST *tables_used, There are not callback function for for VIEWs */ 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)) DBUG_RETURN(0); /* |