summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authorKosov Eugene <claprix@yandex.ru>2016-10-26 14:32:41 +0300
committerAleksey Midenkov <midenok@gmail.com>2017-05-05 20:36:14 +0300
commit7d815be198e0c9a6ae47e45d91210d11d549cd7b (patch)
treec75a72a5656240843e0ce832b9788fbbcaa8bce4 /sql/unireg.h
parente0942286313f78e497a36394111b4546d5a20ed0 (diff)
downloadmariadb-git-7d815be198e0c9a6ae47e45d91210d11d549cd7b.tar.gz
SQL: store versioning field flags in EXTRA2
Diffstat (limited to 'sql/unireg.h')
-rw-r--r--sql/unireg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 475945311e4..a47114054e1 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -173,12 +173,18 @@ enum extra2_frm_value_type {
EXTRA2_DEFAULT_PART_ENGINE=1,
EXTRA2_GIS=2,
EXTRA2_PERIOD_FOR_SYSTEM_TIME=4,
+ EXTRA2_FIELD_FLAGS=8,
#define EXTRA2_ENGINE_IMPORTANT 128
EXTRA2_ENGINE_TABLEOPTS=128,
};
+enum extra2_field_flags {
+ VERS_OPTIMIZED_UPDATE=1,
+ HIDDEN=2,
+};
+
int rea_create_table(THD *thd, LEX_CUSTRING *frm,
const char *path, const char *db, const char *table_name,
HA_CREATE_INFO *create_info, handler *file,