MDEV-8219: enforce_storage_engine cannot be set globally

Change session only variable enforce_storage_engine to be
session variable and make sure that also global value
is used if session variable is not set.
This commit is contained in:
Jan Lindström 2015-06-26 11:42:09 +03:00
commit d535728165
5 changed files with 39 additions and 6 deletions

View file

@ -725,10 +725,10 @@ READ_ONLY YES
COMMAND_LINE_ARGUMENT OPTIONAL
VARIABLE_NAME ENFORCE_STORAGE_ENGINE
SESSION_VALUE
GLOBAL_VALUE NULL
GLOBAL_VALUE
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE NULL
VARIABLE_SCOPE SESSION ONLY
VARIABLE_SCOPE SESSION
VARIABLE_TYPE VARCHAR
VARIABLE_COMMENT Force the use of a storage engine for new tables
NUMERIC_MIN_VALUE NULL