From b55a149194e7f73b5ceb35a0a5d5fb575a8ba586 Mon Sep 17 00:00:00 2001 From: Aleksey Midenkov Date: Mon, 18 Dec 2017 19:03:51 +0300 Subject: Timestamp-based versioning for InnoDB [closes #209] * Removed integer_fields check * Reworked Vers_parse_info::check_sys_fields() * Misc renames * versioned as vers_sys_type_t * Removed versioned_by_sql(), versioned_by_engine() versioned() works as before; versioned(VERS_TIMESTAMP) is versioned_by_sql(); versioned(VERS_TRX_ID) is versioned_by_engine(). * create_tmp_table() fix * Foreign constraints for timestamp-based * Range auto-specifier fix * SQL: 1-row partition rotation fix [fixes #260] * Fix 'drop system versioning, algorithm=inplace' --- include/my_base.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/my_base.h') diff --git a/include/my_base.h b/include/my_base.h index 71dca2e831a..2c93165c912 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -414,6 +414,10 @@ enum ha_base_keytype { when only HA_STATUS_VARIABLE but it won't be used. */ #define HA_STATUS_VARIABLE_EXTRA 128U +/* + Treat empty table as empty (ignore HA_STATUS_TIME hack). +*/ +#define HA_STATUS_OPEN 256U /* Errorcodes given by handler functions -- cgit v1.2.1