mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
a fix (bug #4304: TRUNCATE <table of type BDB> , wrong result).
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user