diff options
author | unknown <cmiller@calliope.local> | 2006-03-09 15:12:43 -0500 |
---|---|---|
committer | unknown <cmiller@calliope.local> | 2006-03-09 15:12:43 -0500 |
commit | 3840774309bc4b812db7dd5caef0d598c56b5f3d (patch) | |
tree | d0e18f641f583d3bb5dc17c093153d81b0fe9dd2 /sql/event_timed.cc | |
parent | 39e4157f77f0b979de9ee0b35c627c3548a96ba4 (diff) | |
download | mariadb-git-3840774309bc4b812db7dd5caef0d598c56b5f3d.tar.gz |
Added code to mysqldump to dump timed events when instructed to do so, with
the '-E' or '--events' flag. (Closes Bug#16853 and Bug#17714.)
WARNING:
At present, these tests fail due to b*g number 18078.
client/mysqldump.c:
Added code to dump events, when asked to do so via the --events parameter.
Also cleaned up some surrounding code.
mysql-test/r/mysqldump.result:
Added a test to create an event, dump it, restore it, add more events, dump
all of them, and restore all of them.
mysql-test/t/mysqldump.test:
Added a test to create an event, dump it, restore it, add more events, dump
all of them, and restore all of them.
sql/event_timed.cc:
No longer qualify SHOW CREATE EVENT names with the database name.
BitKeeper/etc/ignore:
Removing accidentally 'ignored' bogus file entry.
Diffstat (limited to 'sql/event_timed.cc')
-rw-r--r-- | sql/event_timed.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/event_timed.cc b/sql/event_timed.cc index a8620197668..c1fd433dc5b 100644 --- a/sql/event_timed.cc +++ b/sql/event_timed.cc @@ -1063,8 +1063,6 @@ Event_timed::get_create_event(THD *thd, String *buf) DBUG_RETURN(EVEX_MICROSECOND_UNSUP); buf->append(STRING_WITH_LEN("CREATE EVENT ")); - append_identifier(thd, buf, dbname.str, dbname.length); - buf->append(STRING_WITH_LEN(".")); append_identifier(thd, buf, name.str, name.length); buf->append(STRING_WITH_LEN(" ON SCHEDULE ")); |