OLD | NEW |
1 # 2012 July 12 | 1 # 2012 July 12 |
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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 | 396 |
397 execsql BEGIN | 397 execsql BEGIN |
398 set sql "UPDATE $conflict t4 SET rowid=rowid + (rowid/2)" | 398 set sql "UPDATE $conflict t4 SET rowid=rowid + (rowid/2)" |
399 do_catchsql_test 7.5.2.$tn.1 $sql $err | 399 do_catchsql_test 7.5.2.$tn.1 $sql $err |
400 do_execsql_test 7.5.2.$tn.2 { SELECT rowid, word FROM t4 } $res | 400 do_execsql_test 7.5.2.$tn.2 { SELECT rowid, word FROM t4 } $res |
401 do_test 7.5.2.$tn.3 { sqlite3_get_autocommit db } $bRollback | 401 do_test 7.5.2.$tn.3 { sqlite3_get_autocommit db } $bRollback |
402 catchsql ROLLBACK | 402 catchsql ROLLBACK |
403 } | 403 } |
404 | 404 |
405 finish_test | 405 finish_test |
406 | |
OLD | NEW |