OLD | NEW |
1 # 2011 Feb 04 | 1 # 2011 Feb 04 |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 sqlite3_step $::STMT2 | 48 sqlite3_step $::STMT2 |
49 } {SQLITE_CONSTRAINT} | 49 } {SQLITE_CONSTRAINT} |
50 verify_ex_errcode fkey4-1.3b SQLITE_CONSTRAINT_FOREIGNKEY | 50 verify_ex_errcode fkey4-1.3b SQLITE_CONSTRAINT_FOREIGNKEY |
51 do_test fkey4-1.4 { | 51 do_test fkey4-1.4 { |
52 db eval {SELECT * FROM t2} | 52 db eval {SELECT * FROM t2} |
53 } {1 3} | 53 } {1 3} |
54 sqlite3_finalize $::STMT1 | 54 sqlite3_finalize $::STMT1 |
55 sqlite3_finalize $::STMT2 | 55 sqlite3_finalize $::STMT2 |
56 | 56 |
57 finish_test | 57 finish_test |
OLD | NEW |