diff options
author | unknown <andrey@lmy004.> | 2006-02-20 23:52:22 +0100 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2006-02-20 23:52:22 +0100 |
commit | 203b37effe5dd08e8dfe2499cb672c2fb9702097 (patch) | |
tree | 6046a6fc84d86f05ea90fc9eee41fe60c7030860 /mysql-test/t/rpl_ndb_func003.test | |
parent | b5236ea789bee0d1a4ffe7fa23194ef04bddcb8d (diff) | |
download | mariadb-git-203b37effe5dd08e8dfe2499cb672c2fb9702097.tar.gz |
fix for bug#16407 (Events: Changes in sql_mode won't be taken into account)
WL#1032
sql_mode setting was disregarded during create/alter event and wasn't set during
event execution.
(post-review small fixes)
sql/event.cc:
store the sql_mode when the body is stored
- always on create event
- during alter event if the user changes the body
sql/event.h:
add sql_mode as member variable
sql/event_timed.cc:
- exchange thd->variables.sql_mode before and after execution
- set the sql_mode of the anonymous SP -> event_timed::sphead
sql/sql_show.cc:
- show real content in I_S.EVENTS.SQL_MODE , disallow NULL
Diffstat (limited to 'mysql-test/t/rpl_ndb_func003.test')
0 files changed, 0 insertions, 0 deletions