OLD | NEW |
1 # 2008 June 18 | 1 # 2008 June 18 |
2 # | 2 # |
3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
5 # | 5 # |
6 # May you do good and not evil. | 6 # May you do good and not evil. |
7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
9 # | 9 # |
10 #*********************************************************************** | 10 #*********************************************************************** |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 db eval {CREATE TABLE t1(x)} | 107 db eval {CREATE TABLE t1(x)} |
108 test_is_readonly capi3d-2.3 {INSERT INTO t1 VALUES(5)} 0 | 108 test_is_readonly capi3d-2.3 {INSERT INTO t1 VALUES(5)} 0 |
109 test_is_readonly capi3d-2.4 {UPDATE t1 SET x=x+1 WHERE x<0} 0 | 109 test_is_readonly capi3d-2.4 {UPDATE t1 SET x=x+1 WHERE x<0} 0 |
110 test_is_readonly capi3d-2.5 {SELECT * FROM t1} 1 | 110 test_is_readonly capi3d-2.5 {SELECT * FROM t1} 1 |
111 do_test capi3-2.99 { | 111 do_test capi3-2.99 { |
112 sqlite3_stmt_readonly 0 | 112 sqlite3_stmt_readonly 0 |
113 } 1 | 113 } 1 |
114 | 114 |
115 | 115 |
116 finish_test | 116 finish_test |
OLD | NEW |