Commit 238b8cd5 authored by unknown's avatar unknown

This patch disables the query cache for the federated engine.


sql/ha_federated.h:
  Fix cache issues
parent e9c098e3
...@@ -282,6 +282,7 @@ class ha_federated: public handler ...@@ -282,6 +282,7 @@ class ha_federated: public handler
HA_CREATE_INFO *create_info); //required HA_CREATE_INFO *create_info); //required
ha_rows records_in_range(uint inx, key_range *start_key, ha_rows records_in_range(uint inx, key_range *start_key,
key_range *end_key); key_range *end_key);
uint8 table_cache_type() { return HA_CACHE_TBL_NOCACHE; }
THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to, THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to,
enum thr_lock_type lock_type); //required enum thr_lock_type lock_type); //required
......
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