summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2004-06-29 13:51:35 +0500
committerunknown <ram@gw.mysql.r18.ru>2004-06-29 13:51:35 +0500
commit0a1381e05b09aa4d99cd4cbd1e0a0985a02c175a (patch)
tree35a367784c55e2d7df8719dbd4979a247a8cda31 /sql/handler.h
parent834bde020d11fc433d7e364840afd577ae2dbae0 (diff)
parentf9b7537eb6bf336df71893e5d7cdaeb645a04eac (diff)
downloadmariadb-git-0a1381e05b09aa4d99cd4cbd1e0a0985a02c175a.tar.gz
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b4089 mysql-test/r/bdb.result: Auto merged mysql-test/t/bdb.test: Auto merged sql/handler.h: Auto merged
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index ca452b6dedf..506038fccfd 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -515,7 +515,8 @@ extern TYPELIB tx_isolation_typelib;
#define ha_commit(thd) (ha_commit_trans((thd), &((thd)->transaction.all)))
#define ha_rollback(thd) (ha_rollback_trans((thd), &((thd)->transaction.all)))
-#define ha_supports_generate(T) (T != DB_TYPE_INNODB)
+#define ha_supports_generate(T) (T != DB_TYPE_INNODB && \
+ T != DB_TYPE_BERKELEY_DB)
bool ha_caching_allowed(THD* thd, char* table_key,
uint key_length, uint8 cache_type);