diff options
author | unknown <brian@zim.(none)> | 2005-08-29 15:05:16 -0700 |
---|---|---|
committer | unknown <brian@zim.(none)> | 2005-08-29 15:05:16 -0700 |
commit | 341a08edd34dd4b8bb975af21d6531c1ef62f92d (patch) | |
tree | 6d5f2b5cf63fd7450ba88df0e2dc861f748bdef3 /sql/handler.h | |
parent | 56b8fc52cfe81b22031ece94475d9a6f3fa663c2 (diff) | |
download | mariadb-git-341a08edd34dd4b8bb975af21d6531c1ef62f92d.tar.gz |
Added support for delete_all_rows() for archive. This fixes bug #12836.
mysql-test/r/archive.result:
Update for test case to make sure that TRUNCATE and DELETE function(hah!) as designed.
mysql-test/t/archive.test:
Add TRUNCATE and DELETE support.
sql/examples/ha_archive.cc:
Added delete_all_rows() support.
sql/examples/ha_archive.h:
Added delete_all_rows() support.
sql/handler.h:
Added flags for fast delete support for archive and federated.
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index efcdee8f56c..b69eec3edd5 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -531,6 +531,8 @@ extern TYPELIB tx_isolation_typelib; #define ha_supports_generate(T) (T != DB_TYPE_INNODB && \ T != DB_TYPE_BERKELEY_DB && \ + T != DB_TYPE_ARCHIVE_DB && \ + T != DB_TYPE_FEDERATED_DB && \ T != DB_TYPE_NDBCLUSTER) bool ha_caching_allowed(THD* thd, char* table_key, |