summaryrefslogtreecommitdiff
path: root/sql/set_var.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-09-01 20:29:58 +0200
committerSergei Golubchik <serg@mariadb.org>2014-10-11 10:23:20 +0200
commit3fa8c279d57e4a23a8ee34f50d5261541bf928e5 (patch)
tree10bd0c13633345225401479e282396a7d024abd4 /sql/set_var.h
parent513f5840f89d061615780a950e5e1a7f176e67d8 (diff)
downloadmariadb-git-3fa8c279d57e4a23a8ee34f50d5261541bf928e5.tar.gz
INFORMATION_SCHEMA.SYSTEM_VARIABLES.GLOBAL_VALUE_ORIGIN
Diffstat (limited to 'sql/set_var.h')
-rw-r--r--sql/set_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/set_var.h b/sql/set_var.h
index 79a5d90f8a1..b74578cd345 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -63,6 +63,7 @@ public:
enum flag_enum { GLOBAL, SESSION, ONLY_SESSION, SCOPE_MASK=1023,
READONLY=1024, ALLOCATED=2048, PARSE_EARLY=4096 };
enum { NO_GETOPT=-1, GETOPT_ONLY_HELP=-2 };
+ enum where { CONFIG, AUTO, SQL, COMPILE_TIME };
/**
Enumeration type to indicate for a system variable whether
@@ -72,6 +73,7 @@ public:
SESSION_VARIABLE_IN_BINLOG } binlog_status;
my_option option; ///< min, max, default values are stored here
+ enum where value_origin;
protected:
typedef bool (*on_check_function)(sys_var *self, THD *thd, set_var *var);