| OLD | NEW |
| 1 # 2001 September 15 | 1 # 2001 September 15 |
| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 execsql { | 110 execsql { |
| 111 CREATE TABLE t9(d, e, f, | 111 CREATE TABLE t9(d, e, f, |
| 112 FOREIGN KEY (d, e) REFERENCES t5 ON DELETE CASCADE ON UPDATE SET DEFAULT | 112 FOREIGN KEY (d, e) REFERENCES t5 ON DELETE CASCADE ON UPDATE SET DEFAULT |
| 113 ); | 113 ); |
| 114 PRAGMA foreign_key_list(t9); | 114 PRAGMA foreign_key_list(t9); |
| 115 } | 115 } |
| 116 } [concat \ | 116 } [concat \ |
| 117 {0 0 t5 d {} {SET DEFAULT} CASCADE NONE} \ | 117 {0 0 t5 d {} {SET DEFAULT} CASCADE NONE} \ |
| 118 {0 1 t5 e {} {SET DEFAULT} CASCADE NONE} \ | 118 {0 1 t5 e {} {SET DEFAULT} CASCADE NONE} \ |
| 119 ] | 119 ] |
| 120 do_test fkey1-3.5 { |
| 121 sqlite3_db_status db DBSTATUS_DEFERRED_FKS 0 |
| 122 } {0 0 0} |
| 120 | 123 |
| 121 finish_test | 124 finish_test |
| OLD | NEW |