| OLD | NEW |
| 1 # 2008 April 17 | 1 # 2008 April 17 |
| 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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 do_execsql_test jrnlmode-8.22 { COMMIT } {} | 548 do_execsql_test jrnlmode-8.22 { COMMIT } {} |
| 549 do_execsql_test jrnlmode-8.23 { PRAGMA journal_mode=DELETE } {delete} | 549 do_execsql_test jrnlmode-8.23 { PRAGMA journal_mode=DELETE } {delete} |
| 550 do_execsql_test jrnlmode-8.24 { PRAGMA journal_mode=TRUNCATE } {truncate} | 550 do_execsql_test jrnlmode-8.24 { PRAGMA journal_mode=TRUNCATE } {truncate} |
| 551 do_execsql_test jrnlmode-8.25 { PRAGMA locking_mode=NORMAL } {normal} | 551 do_execsql_test jrnlmode-8.25 { PRAGMA locking_mode=NORMAL } {normal} |
| 552 do_execsql_test jrnlmode-8.26 { CREATE TABLE t4(w) } {} | 552 do_execsql_test jrnlmode-8.26 { CREATE TABLE t4(w) } {} |
| 553 do_execsql_test jrnlmode-8.27 { BEGIN IMMEDIATE } {} | 553 do_execsql_test jrnlmode-8.27 { BEGIN IMMEDIATE } {} |
| 554 do_execsql_test jrnlmode-8.28 { PRAGMA journal_mode=DELETE } {delete} | 554 do_execsql_test jrnlmode-8.28 { PRAGMA journal_mode=DELETE } {delete} |
| 555 do_execsql_test jrnlmode-8.29 { COMMIT } {} | 555 do_execsql_test jrnlmode-8.29 { COMMIT } {} |
| 556 do_execsql_test jrnlmode-8.30 { PRAGMA journal_mode=DELETE } {delete} | 556 do_execsql_test jrnlmode-8.30 { PRAGMA journal_mode=DELETE } {delete} |
| 557 | 557 |
| 558 # Assertion fault on 2015-05-01 |
| 559 do_test jrnlmode-9.1 { |
| 560 forcedelete test2.db |
| 561 sqlite3 db2 test2.db |
| 562 db2 eval {CREATE TEMP TABLE t(l); PRAGMA journal_mode=off;} |
| 563 db2 close |
| 564 } {} |
| 565 do_execsql_test jrnlmode-9.2 { |
| 566 PRAGMA locking_mode = exclusive; |
| 567 CREATE TABLE tx(a); |
| 568 PRAGMA journal_mode = off; |
| 569 } {exclusive off} |
| 570 |
| 571 |
| 558 finish_test | 572 finish_test |
| OLD | NEW |