adding test scripts
[csql.git] / test / tools / csql / autocommit3.sql
blobacc5aac27500e5f23d9b09ef1b7420f37b135a8a
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 commit;
20 commit;
21 echo select * from t1;
22 select * from t1;
23 echo delete from t1 where f1=1; 
24 delete from t1 where f1=1;