mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge with 4.0.14
This commit is contained in:
@@ -21,3 +21,9 @@ explain select * from t1 where @vv1:=@vv1+1 and i=@vv1;
|
||||
explain select @vv1:=i from t1 where i=@vv1;
|
||||
explain select * from t1 where i=@vv1;
|
||||
drop table t1,t2;
|
||||
|
||||
# Check types of variables
|
||||
select @a:=10, @b:=1, @a > @b, @a < @b;
|
||||
select @a:="10", @b:="1", @a > @b, @a < @b;
|
||||
select @a:=10, @b:=2, @a > @b, @a < @b;
|
||||
select @a:="10", @b:="2", @a > @b, @a < @b;
|
||||
|
||||
Reference in New Issue
Block a user