OLD | NEW |
1 # 2010 January 7 | 1 # 2010 January 7 |
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 213 matching lines...) Loading... |
224 # write page size | 224 # write page size |
225 hexio_write $jrnl_name 24 [format %08x $db_pgsz] | 225 hexio_write $jrnl_name 24 [format %08x $db_pgsz] |
226 | 226 |
227 # check the integrity of the database with the patched journal | 227 # check the integrity of the database with the patched journal |
228 sqlite3 db $db_name | 228 sqlite3 db $db_name |
229 do_test restore_jrnl-1.0 { | 229 do_test restore_jrnl-1.0 { |
230 catchsql {PRAGMA integrity_check} | 230 catchsql {PRAGMA integrity_check} |
231 } {0 ok} | 231 } {0 ok} |
232 db close | 232 db close |
233 | 233 |
OLD | NEW |