OLD | NEW |
1 # 2015-03-25 | 1 # 2015-03-25 |
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 } else { | 43 } else { |
44 # puts "DELETE a=$a" | 44 # puts "DELETE a=$a" |
45 db eval {DELETE FROM t1 WHERE a=$a} | 45 db eval {DELETE FROM t1 WHERE a=$a} |
46 } | 46 } |
47 db eval {COMMIT; BEGIN} | 47 db eval {COMMIT; BEGIN} |
48 } | 48 } |
49 db one {COMMIT; SELECT count(*) FROM t1;} | 49 db one {COMMIT; SELECT count(*) FROM t1;} |
50 } {20} | 50 } {20} |
51 | 51 |
52 finish_test | 52 finish_test |
OLD | NEW |