Below is the list of changes that have just been committed into a local
5.1 repository of cmiller. When cmiller does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2151 06/03/09 15:22:11 cmiller@stripped +2 -0
Merge calliope.local:/Users/cmiller/work/src/mysql-5.1-new
into calliope.local:/Users/cmiller/work/src/mysql-5.1-new__cleanup_mysqldump
mysql-test/t/mysqldump.test
1.93 06/03/09 15:21:39 cmiller@stripped +0 -0
Auto merged
BitKeeper/etc/ignore
1.232 06/03/09 15:20:49 cmiller@stripped +0 -0
auto-union
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: cmiller
# Host: calliope.local
# Root: /Users/cmiller/work/src/mysql-5.1-new__cleanup_mysqldump/RESYNC
--- 1.92/mysql-test/t/mysqldump.test 2006-03-07 14:00:41 -05:00
+++ 1.93/mysql-test/t/mysqldump.test 2006-03-09 15:21:39 -05:00
@@ -1166,3 +1166,43 @@
drop table t2;
drop table words2;
+
+#
+# BUG# 16853: mysqldump doesn't show events
+#
+create database first;
+use first;
+set time_zone = 'UTC';
+
+## prove one works
+create event ee1 on schedule at '2035-12-31 20:01:23' do set @a=5;
+show events;
+show create event ee1;
+--exec $MYSQL_DUMP --events first > $MYSQLTEST_VARDIR/tmp/bug16853-1.sql
+drop database first;
+
+create database second;
+use second;
+--exec $MYSQL second < $MYSQLTEST_VARDIR/tmp/bug16853-1.sql
+show events;
+show create event ee1;
+
+## prove three works
+# start with one from the previous restore
+create event ee2 on schedule at '2018-12-31 21:01:23' do set @a=5;
+create event ee3 on schedule at '2030-12-31 22:01:23' do set @a=5;
+show events;
+--exec $MYSQL_DUMP --events second > $MYSQLTEST_VARDIR/tmp/bug16853-2.sql
+drop database second;
+
+create database third;
+use third;
+--exec $MYSQL third < $MYSQLTEST_VARDIR/tmp/bug16853-2.sql
+show events;
+drop database third;
+
+# revert back to normal settings
+set time_zone = 'SYSTEM';
+use test;
+
+#####
| Thread |
|---|
| • bk commit into 5.1 tree (cmiller:1.2151) | Chad MILLER | 9 Mar |