From 5d3bae242c6756fa57a34adb4ad56232566ef385 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 10 Jan 2018 20:09:06 +0100 Subject: remove dead VERS_EXPERIMENTAL code changed to use DBUG keywords instead, so that the code is compiled and tested added tests. --- sql/sys_vars.cc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'sql/sys_vars.cc') 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", -- cgit v1.2.1