diff options
author | unknown <bell@sanja.is.com.ua> | 2004-05-05 11:22:10 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-05-05 11:22:10 +0300 |
commit | 9362f6dfcb0f257333cc34f654458f7c214e180e (patch) | |
tree | 0a4b2c48d0cb89c7b1aea86ed25e230b0689bfd6 /sql/ha_ndbcluster.h | |
parent | c5d5f1fab9c705f20ee9b175f28c03a89ecaf9f7 (diff) | |
download | mariadb-git-9362f6dfcb0f257333cc34f654458f7c214e180e.tar.gz |
avoid using ndb tables in query cache
sql/ha_ndbcluster.h:
fixed layout
prohibit using query cache with ndb tables
sql/handler.h:
new caching type
sql/sql_cache.cc:
support of new caching type (caching prohibited)
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index ed66d07d79b..bd601f39fc4 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -107,7 +107,7 @@ class ha_ndbcluster: public handler return true; #endif } - bool has_transactions() { return true;} + bool has_transactions() { return true; } const char* index_type(uint key_number) { switch (get_index_type(key_number)) { @@ -130,7 +130,7 @@ class ha_ndbcluster: public handler static Ndb* seize_ndb(); static void release_ndb(Ndb* ndb); - + uint8 table_cache_type() { return HA_CACHE_TBL_NOCACHE; } private: int alter_table_name(const char *from, const char *to); |