| OLD | NEW |
| 1 # 2007 Aug 13 | 1 # 2007 Aug 13 |
| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 } | 69 } |
| 70 expr 0 | 70 expr 0 |
| 71 } {0} | 71 } {0} |
| 72 | 72 |
| 73 # Checksum the database. | 73 # Checksum the database. |
| 74 #do_test mallocC-$tn.$::n.3 { | 74 #do_test mallocC-$tn.$::n.3 { |
| 75 # allcksum db | 75 # allcksum db |
| 76 #} $sum | 76 #} $sum |
| 77 | 77 |
| 78 #integrity_check mallocC-$tn.$::n.4 | 78 #integrity_check mallocC-$tn.$::n.4 |
| 79 if {$::nErr>1} return | |
| 80 } | 79 } |
| 81 unset ::mallocopts | 80 unset ::mallocopts |
| 82 } | 81 } |
| 83 | 82 |
| 84 sqlite3_extended_result_codes db 1 | 83 sqlite3_extended_result_codes db 1 |
| 85 | 84 |
| 86 execsql { | 85 execsql { |
| 87 PRAGMA auto_vacuum=1; | 86 PRAGMA auto_vacuum=1; |
| 88 CREATE TABLE t0(a, b, c); | 87 CREATE TABLE t0(a, b, c); |
| 89 } | 88 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 114 CREATE TABLE t4(a UNIQUE, b UNIQUE, c UNIQUE); | 113 CREATE TABLE t4(a UNIQUE, b UNIQUE, c UNIQUE); |
| 115 CREATE TABLE t5(a UNIQUE, b UNIQUE, c UNIQUE); | 114 CREATE TABLE t5(a UNIQUE, b UNIQUE, c UNIQUE); |
| 116 CREATE TABLE t6(a UNIQUE, b UNIQUE, c UNIQUE); | 115 CREATE TABLE t6(a UNIQUE, b UNIQUE, c UNIQUE); |
| 117 CREATE TABLE t7(a UNIQUE, b UNIQUE, c UNIQUE); | 116 CREATE TABLE t7(a UNIQUE, b UNIQUE, c UNIQUE); |
| 118 CREATE TABLE t8(a UNIQUE, b UNIQUE, c UNIQUE); | 117 CREATE TABLE t8(a UNIQUE, b UNIQUE, c UNIQUE); |
| 119 | 118 |
| 120 ROLLBACK; | 119 ROLLBACK; |
| 121 } | 120 } |
| 122 | 121 |
| 123 finish_test | 122 finish_test |
| OLD | NEW |