summaryrefslogtreecommitdiff
path: root/storage/csv/ha_tina.h
diff options
context:
space:
mode:
authorunknown <brian@zim.tangent.org>2006-02-07 22:42:57 -0800
committerunknown <brian@zim.tangent.org>2006-02-07 22:42:57 -0800
commit9f5962ed25c295501a4e4e57688fb809e01e4271 (patch)
tree7770998af161d1eeb1a27e1e53e19e3bd6afa97c /storage/csv/ha_tina.h
parent2f3705752a08c561d68e9676d6e9506468fa4bb3 (diff)
downloadmariadb-git-9f5962ed25c295501a4e4e57688fb809e01e4271.tar.gz
The handlerton structures for archive and CSV had not been updated. Nicht so gute. I also fixed CSV to use fast alter table and put in a test in archive in case someone tries to do the same there (hint... it won't work).
mysql-test/r/archive.result: New results mysql-test/r/csv.result: New results mysql-test/t/archive.test: Adding test for new fast alter table mysql-test/t/csv.test: Adding test for new fast alter table sql/ha_archive.cc: Updating handlerton to remove warnings. storage/csv/ha_tina.cc: Updating handlerton to remove warnings, and updated CSV to handle fast alter table. storage/csv/ha_tina.h: New method.
Diffstat (limited to 'storage/csv/ha_tina.h')
-rw-r--r--storage/csv/ha_tina.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/csv/ha_tina.h b/storage/csv/ha_tina.h
index a11d4281389..572d05cb779 100644
--- a/storage/csv/ha_tina.h
+++ b/storage/csv/ha_tina.h
@@ -122,6 +122,8 @@ public:
int extra(enum ha_extra_function operation);
int delete_all_rows(void);
int create(const char *name, TABLE *form, HA_CREATE_INFO *create_info);
+ bool check_if_incompatible_data(HA_CREATE_INFO *info,
+ uint table_changes);
THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to,
enum thr_lock_type lock_type);