Commit 3667ce1b authored by unknown's avatar unknown

Small omition when Innodb handler is not included.

parent 40f41ee1
......@@ -880,10 +880,12 @@ int handler::delete_all_rows()
bool handler::caching_allowed(THD* thd, char* table_key,
uint key_length, uint8 cache_type)
{
#ifdef HAVE_INNOBASE_DB
if (cache_type == HA_CACHE_TBL_ASKTRANSACT)
return innobase_query_caching_of_table_permitted(thd, table_key,
key_length);
else
#endif
return 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment