Debian Codegraph @

mysql-test/suite/innodb/r/innodb_bug59410.result

raw
1 create table `bug59410_1`(`a` int)engine=innodb;
2 insert into `bug59410_1` values (1),(2),(3);
3 select 1 from `bug59410_1` where `a` <> any (
4 select 1 from `bug59410_1` where `a` <> 1 for update)
5 for update;
6 1
7 1
8 1
9 drop table bug59410_1;
10 create table bug59410_2(`a` char(1),`b` int)engine=innodb;
11 insert into bug59410_2 values('0',0);
12 set transaction isolation level read uncommitted;
13 start transaction;
14 set @a=(select b from bug59410_2 where
15 (select 1 from bug59410_2 where a group by @a=b)
16 group by @a:=b);
17 Warnings:
18 Warning 1287 Setting user variables within expressions is deprecated and will be removed in a future release. Consider alternatives: 'SET variable=expression, ...', or 'SELECT expression(s) INTO variables(s)'.
19 drop table bug59410_2;