summaryrefslogtreecommitdiff
path: root/sql/create_options.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-09-25 19:42:22 +0200
committerSergei Golubchik <sergii@pisem.net>2013-09-25 19:42:22 +0200
commit20031c62735f9b52420b54e2c66c7eeeccd7044f (patch)
treefcbcfec1f7baffe0e4a581ba1f0a1141c5a90434 /sql/create_options.h
parentfd5530625487471f0c238a0b5a4c187ae20961e8 (diff)
downloadmariadb-git-20031c62735f9b52420b54e2c66c7eeeccd7044f.tar.gz
Enable TokuDB online ALTER
sql/create_options.cc: an utility function to compare two filled-in engine_option structures sql/sql_table.cc: * two keys are different if their option_struct's differ (for ALTER TABLE DROP key, ADD key) * engines doing inplace alter must see the new frm image
Diffstat (limited to 'sql/create_options.h')
-rw-r--r--sql/create_options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/create_options.h b/sql/create_options.h
index c7fac8b37fd..d6b48822c49 100644
--- a/sql/create_options.h
+++ b/sql/create_options.h
@@ -96,4 +96,7 @@ uchar *engine_table_options_frm_image(uchar *buff,
engine_option_value *table_option_list,
List<Create_field> &create_fields,
uint keys, KEY *key_info);
+
+bool engine_options_differ(void *old_struct, void *new_struct,
+ ha_create_table_option *rules);
#endif