summaryrefslogtreecommitdiff
path: root/include/my_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_base.h')
-rw-r--r--include/my_base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_base.h b/include/my_base.h
index c195830e35a..ed27ef7e843 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -48,6 +48,11 @@
#define HA_OPEN_INTERNAL_TABLE 512
#define HA_OPEN_NO_PSI_CALL 1024 /* Don't call/connect PSI */
#define HA_OPEN_MERGE_TABLE 2048
+/*
+ Allow opening even if table is incompatible as this is for ALTER TABLE which
+ will fix the table structure.
+*/
+#define HA_OPEN_FOR_ALTER 4096
/* The following is parameter to ha_rkey() how to use key */