Fix for bug #9286: SESSION/GLOBAL should be disallowed for user variables(for 5.0)

This commit is contained in:
unknown 2005-05-18 12:47:45 +05:00
commit 74b93e57b5
4 changed files with 106 additions and 79 deletions

View file

@ -32,7 +32,7 @@ extern TYPELIB bool_typelib, delay_key_write_typelib, sql_mode_typelib;
enum enum_var_type
{
OPT_DEFAULT, OPT_SESSION, OPT_GLOBAL
OPT_DEFAULT= 0, OPT_SESSION, OPT_GLOBAL
};
typedef int (*sys_check_func)(THD *, set_var *);