10
10
create table t1 (a int auto_increment primary key, b char(20));
11
11
insert into t1 values(1,"test");
13
12
SELECT SQL_BUFFER_RESULT * from t1;
14
13
update t1 set b="a" where a=1;
15
14
delete from t1 where a=1;
16
15
insert into t1 values(1,"test"),(2,"test2");
18
16
SELECT SQL_BUFFER_RESULT * from t1;
19
17
update t1 set b="a" where a=1;
20
18
select 1 from t1,t1 as t2,t1 as t3;
24
24
update t1 set b="a" where b="test";
26
28
delete from t1 where b="test";
27
30
delete from t1 where a+0=1;
28
32
select 1 from t1,t1 as t2,t1 as t3,t1 as t4,t1 as t5;
30
34
# The following should be ok: