Skip to content

Commit

Permalink
Added Write-Ahead-Logging to spellchecker.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Sep 14, 2010
1 parent 5e10d92 commit a8c7c30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripting/spellchecker.lua
Expand Up @@ -330,6 +330,9 @@ local function init ()
end -- if
end
-- enable WAL (Write-Ahead Logging)
assert (db:execute "PRAGMA journal_mode=WAL;")
-- if no words table, make one
if not words_table then
-- create a table to hold the words
Expand Down

0 comments on commit a8c7c30

Please sign in to comment.