mirror of
https://github.com/MariaDB/server.git
synced 2025-11-21 06:21:35 +03:00
Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0
into eagle.mysql.r18.ru:/home/vva/work/BUG_1194/mysql-4.0
This commit is contained in:
@@ -23,3 +23,22 @@ 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;
|
||||
|
||||
# Fixed bug #1194
|
||||
select @a:=1;
|
||||
select @a, @a:=1;
|
||||
|
||||
create table t1 (id int);
|
||||
insert into t1 values (1);
|
||||
select @c:=0;
|
||||
update t1 SET id=(@c:=@c+1);
|
||||
select @c;
|
||||
select @c:=0;
|
||||
update t1 set id=(@c:=@c+1);
|
||||
select @c;
|
||||
select @c:=0;
|
||||
select @c:=@c+1;
|
||||
drop table t1;
|
||||
|
||||
# just fof fun :)
|
||||
select @a:=10, @b:=2, @a>@b, @a:="10", @b:="2", @a>@b, @a:=10, @b:=2, @a>@b, @a:="10", @b:="2", @a>@b;
|
||||
Reference in New Issue
Block a user