1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1

into  rurik.mysql.com:/home/igor/mysql-4.1
This commit is contained in:
unknown
2006-05-07 11:25:33 -07:00
3 changed files with 17 additions and 0 deletions

View File

@ -105,5 +105,6 @@ slave-bin.000001 1370 User var 2 1370 @`a`=5
slave-bin.000001 1412 Query 1 1412 use `test`; insert into t1 values (@a),(@a)
slave-bin.000001 1478 User var 2 1478 @`a`=NULL
slave-bin.000001 1503 Query 1 1503 use `test`; insert into t1 values (@a),(@a),(@a*5)
insert into t1 select * FROM (select @var1 union select @var2) AS t2;
drop table t1;
stop slave;

View File

@ -47,9 +47,15 @@ connection slave;
sync_with_master;
select * from t1;
show binlog events from 141;
#
# 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;