adding test scripts
[csql.git] / test / tools / csql / autocommit4.sql
blob933b2c3a1ef6615d67c21b4cdc7348b9e11ae293
1 echo set autocommit off;
2 set autocommit off;
3 echo delete from t1 where f1=1;
4 delete from t1 where f1=1;
5 echo select * from t1;
6 select * from t1;
7 echo rollback;
8 rollback;
9 echo select * from t1;
10 select * from t1;
11 echo commit;
12 commit;
13 echo insert into t1 values(3,'k');
14 insert into t1 values(3,'k');
15 echo insert into t1 values(4,'p');
16 insert into t1 values(4,'p');
17 echo create table t2(f1 int,f2 char(10));
18 create table t2(f1 int,f2 char(10));
19 echo delete from t1 where f1=1;
20 delete from t1 where f1=1;
21 echo select * from t1;
22 select * from t1;
23 echo rollback;
24 rollback;