Commit 49bc52e5 authored by aelkin@mysql.com's avatar aelkin@mysql.com

Bug#19136: Crashing log-bin and uninitialized user variables in a derived table

recalculating results
parent 899cf9b5
......@@ -106,5 +106,6 @@ slave-bin.000001 # User var 2 # @`a`=5
slave-bin.000001 # Query 1 # use `test`; insert into t1 values (@a),(@a)
slave-bin.000001 # User var 2 # @`a`=NULL
slave-bin.000001 # Query 1 # 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;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment