adding test scripts
[csql.git] / test / tools / csql / autocommit12.sql
blobc67245373f3f6079fd5dd78661330027147759ef
1 echo set autocommit off;
2 set autocommit off;
3 echo create table t1(f1 int not null,f2 int,f3 int);
4 create table t1(f1 int not null,f2 int,f3 int);
5 echo insert into t1 values(1,2,3);
6 insert into t1 values(1,2,3);
7 echo insert into t1 values(10,20,30);
8 insert into t1 values(10,20,30);
9 echo insert into t1 values(100,200,300);
10 insert into t1 values(100,200,300);
11 echo insert into t1 values(1000,2000,3000);
12 insert into t1 values(1000,2000,3000);
13 echo select * from t1;
14 select * from t1;
15 echo update t1 set f2=0,f3=f1*0 where f1<=100 and f1 >1;
16 update t1 set f2=0,f3=f1*0 where f1<=100 and f1 >1;
17 echo select * from t1;
18 select * from t1;