Mercurial > hg > orthanc
diff Core/SQLite/Connection.cpp @ 374:42e87c17cab8
some refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 15 Apr 2013 17:00:26 +0200 |
parents | 4453a010d0db |
children | bdd72233b105 |
line wrap: on
line diff
--- a/Core/SQLite/Connection.cpp Mon Mar 25 12:12:37 2013 +0100 +++ b/Core/SQLite/Connection.cpp Mon Apr 15 17:00:26 2013 +0200 @@ -88,15 +88,7 @@ // Execute PRAGMAs at this point // http://www.sqlite.org/pragma.html Execute("PRAGMA FOREIGN_KEYS=ON;"); - Execute("PRAGMA RECURSIVE_TRIGGERS=ON;"); - - // Performance tuning - Execute("PRAGMA SYNCHRONOUS=NORMAL;"); - Execute("PRAGMA JOURNAL_MODE=WAL;"); - Execute("PRAGMA LOCKING_MODE=EXCLUSIVE;"); - Execute("PRAGMA WAL_AUTOCHECKPOINT=1000;"); - //Execute("PRAGMA TEMP_STORE=memory"); } void Connection::OpenInMemory()