mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Merge with 4.0.14
This commit is contained in:
@@ -760,9 +760,9 @@ void Query_cache::store_query(THD *thd, TABLE_LIST *tables_used)
|
||||
DBUG_VOID_RETURN;
|
||||
uint8 tables_type= 0;
|
||||
|
||||
if ((local_tables = is_cacheable(thd, thd->query_length,
|
||||
thd->query, &thd->lex, tables_used,
|
||||
&tables_type)))
|
||||
if ((local_tables= is_cacheable(thd, thd->query_length,
|
||||
thd->query, &thd->lex, tables_used,
|
||||
&tables_type)))
|
||||
{
|
||||
NET *net= &thd->net;
|
||||
byte flags= (thd->client_capabilities & CLIENT_LONG_FLAG ? 0x80 : 0);
|
||||
|
||||
Reference in New Issue
Block a user