diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-01-10 20:09:06 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-01-13 02:01:34 +0100 |
commit | 5d3bae242c6756fa57a34adb4ad56232566ef385 (patch) | |
tree | 3eb1996ac31018786c84b0117549326d31f9467a /sql/sys_vars.cc | |
parent | 376b0ea1da1514ca645ae4e275a412c1bc9d4b7d (diff) | |
download | mariadb-git-5d3bae242c6756fa57a34adb4ad56232566ef385.tar.gz |
remove dead VERS_EXPERIMENTAL code
changed to use DBUG keywords instead,
so that the code is compiled and tested
added tests.
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r-- | sql/sys_vars.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc index d00f35e2028..94c77136993 100644 --- a/sql/sys_vars.cc +++ b/sql/sys_vars.cc @@ -396,21 +396,6 @@ static Sys_var_vers_asof Sys_vers_asof_timestamp( SESSION_VAR(vers_asof_timestamp.type), NO_CMD_LINE, Sys_var_vers_asof::asof_keywords, DEFAULT(SYSTEM_TIME_UNSPECIFIED)); -#ifdef VERS_EXPERIMENTAL -static Sys_var_mybool Sys_vers_force( - "debug_system_versioning_force", "Force system versioning for all created tables", - SESSION_VAR(vers_force), CMD_LINE(OPT_ARG), DEFAULT(FALSE)); - -static const char *vers_show_keywords[]= {"OFF", "RANGE", "ALWAYS", NULL}; -static Sys_var_enum Sys_vers_show( - "debug_system_versioning_show", "Show system fields special rules. " - "OFF: don't use special show rules; " - "RANGE: show implicit system fields only in range versioned queries; " - "ALWAYS: show system fields in all queries", - SESSION_VAR(vers_show), CMD_LINE(REQUIRED_ARG), - vers_show_keywords, DEFAULT(VERS_SHOW_OFF)); -#endif - static Sys_var_mybool Sys_vers_innodb_algorithm_simple( "system_versioning_innodb_algorithm_simple", "Use simple algorithm of timestamp handling in InnoDB instead of TRX_SEES", |