diff options
author | unknown <bell@sanja.is.com.ua> | 2005-07-28 22:39:11 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2005-07-28 22:39:11 +0300 |
commit | a66928bb24d3f543593d092c085b915459ca5c88 (patch) | |
tree | e93bc8d2975b833cb357ca7658f47ed7c4100ac2 /sql/set_var.h | |
parent | 482cf550f9cb1bf060aba73ef64d85edee791118 (diff) | |
download | mariadb-git-a66928bb24d3f543593d092c085b915459ca5c88.tar.gz |
store/restore sql_mode which was in force during ctrigger creation (BUG#5891)
other sql_mode fixes
mysql-test/r/information_schema.result:
changes in information schema
mysql-test/r/trigger.result:
storing and restoring sql modes for triggers
mysql-test/t/trigger.test:
storing and restoring parsing modes for triggers
sql/mysqld.cc:
add length of mode names
sql/parse_file.cc:
new type of list (ulonglong)
sql/parse_file.h:
new type of list (ulonglong)
sql/set_var.cc:
mode output made as static method
sql/set_var.h:
mode output made as static method
sql/sp_head.cc:
added sql_mode storing/restoring during SP execution
optimised sql_mode printing
sql/sp_head.h:
comment fixed according this changes
sql/sql_show.cc:
added sql_mode field
sql/sql_trigger.cc:
store/restore sql_mode which was in force during ctrigger creation
sql/sql_trigger.h:
store/restore sql_mode which was in force during ctrigger creation
sql/sql_view.cc:
fixed sql_mode
Diffstat (limited to 'sql/set_var.h')
-rw-r--r-- | sql/set_var.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/set_var.h b/sql/set_var.h index a7e680cc7fa..c8b075ddd35 100644 --- a/sql/set_var.h +++ b/sql/set_var.h @@ -361,6 +361,8 @@ public: } void set_default(THD *thd, enum_var_type type); byte *value_ptr(THD *thd, enum_var_type type, LEX_STRING *base); + static byte *symbolic_mode_representation(THD *thd, ulong sql_mode, + ulong *length); }; |