summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2017-12-15 15:01:13 +0300
committerAleksey Midenkov <midenok@gmail.com>2017-12-15 15:18:59 +0300
commit73606a3977cb4b76fa8205ca99ff7aedf4b8866c (patch)
tree8cb4ba356ee9001fb496492932223f9d98807fc8 /sql/unireg.h
parent2ae2876a6ce4b1e4d4bb61d8f372feff1cb51339 (diff)
parent2b67b7cb08bf163df3e02115ddc13d05dc966c03 (diff)
downloadmariadb-git-73606a3977cb4b76fa8205ca99ff7aedf4b8866c.tar.gz
System Versioning 1.0 pre5 [closes #407]
Merge branch '10.3' into trunk Both field_visibility and VERS_HIDDEN_FLAG exist independently. TODO: VERS_HIDDEN_FLAG should be replaced with SYSTEM_INVISIBLE (or COMPLETELY_INVISIBLE?).
Diffstat (limited to 'sql/unireg.h')
-rw-r--r--sql/unireg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 25cb22207ad..99e5e6c1b6c 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -173,17 +173,17 @@ enum extra2_frm_value_type {
EXTRA2_DEFAULT_PART_ENGINE=1,
EXTRA2_GIS=2,
EXTRA2_PERIOD_FOR_SYSTEM_TIME=4,
- EXTRA2_FIELD_FLAGS=8,
- EXTRA2_VTMD=16,
+ EXTRA2_VTMD=8,
#define EXTRA2_ENGINE_IMPORTANT 128
EXTRA2_ENGINE_TABLEOPTS=128,
+ EXTRA2_FIELD_FLAGS=129
};
enum extra2_field_flags {
- VERS_OPTIMIZED_UPDATE=1,
- HIDDEN=2,
+ VERS_OPTIMIZED_UPDATE= 1 << MAX_BITS_INVISIBLE,
+ VERS_HIDDEN= 1 << (MAX_BITS_INVISIBLE + 1),
};
int rea_create_table(THD *thd, LEX_CUSTRING *frm,