Persist SQLite journal files.
commit4e179ba6e49ca1dc79516986d08bccb9c0eeef59
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 17 Mar 2012 16:06:47 +0000 (17 16:06 +0000)
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 17 Mar 2012 16:06:47 +0000 (17 16:06 +0000)
treec7a341172254cc2128dd09c443ab4373428876e9
parent24f5a96345c5c2a9daf3dc77e2ad6ea361175e85
Persist SQLite journal files.

The default is DELETE mode, in which the delete commits the
transaction.  PERSIST keeps the files around, but zeros out the
header.

journal_mode has been in SQLite since 3.5.9 (2008), so even very old
versions of Chromium should interact well.

BUG=118470
TEST=none

Review URL: http://codereview.chromium.org/9702092

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127366 0039d316-1c4b-4281-b951-d872f2087c98
sql/connection.cc