Overview
Comment: | reversed polarity of walmode |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.63-no-wal |
Files: | files | file ages | folders |
SHA1: |
e6ea5fd0f33902f9f5a6b67f08e36f66 |
User & Date: | bjbarcla on 2017-03-01 15:35:54 |
Other Links: | branch diff | manifest | tags |
Context
2017-03-01
| ||
15:36 | made wal mode optional check-in: 3dd33d4cce user: bjbarcla tags: v1.63 | |
15:35 | reversed polarity of walmode Closed-Leaf check-in: e6ea5fd0f3 user: bjbarcla tags: v1.63-no-wal | |
15:22 | test remove wal mode check-in: 320ed4c8d5 user: bjbarcla tags: v1.63-no-wal | |
Changes
Modified db.scm from [9d0175c3bb] to [a86510f3f3].
︙ | ︙ | |||
219 220 221 222 223 224 225 | (let (;; (lock (obtain-dot-lock fname 1 5 10)) (db (sqlite3:open-database fname))) (sqlite3:set-busy-handler! db (make-busy-timeout 136000)) ;; (db:set-sync db) (sqlite3:execute db "PRAGMA synchronous = 0;") (if (not file-exists) (begin | | | 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | (let (;; (lock (obtain-dot-lock fname 1 5 10)) (db (sqlite3:open-database fname))) (sqlite3:set-busy-handler! db (make-busy-timeout 136000)) ;; (db:set-sync db) (sqlite3:execute db "PRAGMA synchronous = 0;") (if (not file-exists) (begin (if (and (configf:lookup *configdat* "setup" "use-wal") (string-match "^/tmp/.*" fname)) ;; this is a file in /tmp (sqlite3:execute db "PRAGMA journal_mode=WAL;") (print "Creating " fname " in NON-WAL mode.")) (initproc db))) ;; (release-dot-lock fname) db) (begin |
︙ | ︙ |