diff options
author | Eric Wong <e@80x24.org> | 2015-10-02 18:35:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-10-02 20:34:10 +0000 |
commit | 00d5f18726f9ad435fc44a527ba486dcbeab9f81 (patch) | |
tree | 7806eaea3f86f55e47c00f6c5c0a10db63b3c052 /lib/PublicInbox/Msgmap.pm | |
parent | 8ae4e09eb283a5d92649835cdcc51dbbe9b69c31 (diff) | |
download | public-inbox-00d5f18726f9ad435fc44a527ba486dcbeab9f81.tar.gz |
This doesn't seem to do anything on my older system, but maybe it will in newer or future versions of DBD::SQLite. Anyways it can be helpful for documentation purposes, too.
Diffstat (limited to 'lib/PublicInbox/Msgmap.pm')
-rw-r--r-- | lib/PublicInbox/Msgmap.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/Msgmap.pm b/lib/PublicInbox/Msgmap.pm index 8a34e7e0..6e9f2743 100644 --- a/lib/PublicInbox/Msgmap.pm +++ b/lib/PublicInbox/Msgmap.pm @@ -19,6 +19,7 @@ sub new { AutoCommit => 1, RaiseError => 1, PrintError => 0, + ReadOnly => !$writable, sqlite_use_immediate_transaction => 1, }); $dbh->do('PRAGMA case_sensitive_like = ON'); |