summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_user_variables.test
diff options
context:
space:
mode:
authorunknown <aelkin@mysql.com>2006-05-07 16:02:55 +0300
committerunknown <aelkin@mysql.com>2006-05-07 16:02:55 +0300
commit048469eb79ae901e4379f88747e90ffde31e92f7 (patch)
treea6fd0adbad01befc53c4602f866e4bc6c80acb87 /mysql-test/t/rpl_user_variables.test
parentc27793a3dac208468f899f0c3b1853aaef8dafbc (diff)
parentce6a2d32b36ba96f9cc8d734cd9ccd6ccd90976a (diff)
downloadmariadb-git-048469eb79ae901e4379f88747e90ffde31e92f7.tar.gz
Merge mysql.com:/usr_rh9/home/elkin.rh9/4.1
into mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0-bug19136 sql/item_func.cc: Auto merged sql/sql_select.cc: Auto merged mysql-test/r/rpl_user_variables.result: manual merge use local mysql-test/t/rpl_user_variables.test: manual merge use version 5.0's "show binlog events from 98"
Diffstat (limited to 'mysql-test/t/rpl_user_variables.test')
-rw-r--r--mysql-test/t/rpl_user_variables.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/rpl_user_variables.test b/mysql-test/t/rpl_user_variables.test
index e8985397703..dbe75a15038 100644
--- a/mysql-test/t/rpl_user_variables.test
+++ b/mysql-test/t/rpl_user_variables.test
@@ -48,9 +48,15 @@ sync_with_master;
select * from t1;
--replace_column 2 # 5 #
show binlog events from 98;
+#
+# BUG19136: Crashing log-bin and uninitialized user variables in a derived table
+# just to check nothing bad happens anymore
+#
connection master;
+insert into t1 select * FROM (select @var1 union select @var2) AS t2;
drop table t1;
save_master_pos;
+
connection slave;
sync_with_master;
stop slave;