From 2545e29e368874a1af954d64dcadaa94f20fe283 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Mon, 4 Feb 2013 22:19:28 +0000 Subject: [PATCH] DbDriverSqlite3: added missing synchronous and tempStore param set when opening connection git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@823 f169173b-cf89-36c8-b27e-44dbe73f0c83 --- corelib/src/DBDriverSqlite3.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/corelib/src/DBDriverSqlite3.cpp b/corelib/src/DBDriverSqlite3.cpp index c97b5ac8..c6604eff 100644 --- a/corelib/src/DBDriverSqlite3.cpp +++ b/corelib/src/DBDriverSqlite3.cpp @@ -324,6 +324,8 @@ bool DBDriverSqlite3::connectDatabaseQuery(const std::string & url, bool overwri //Set database optimizations this->setCacheSize(_cacheSize); // this will call the SQL this->setJournalMode(_journalMode); // this will call the SQL + this->setSynchronous(_synchronous); // this will call the SQL + this->setTempStore(_tempStore); // this will call the SQL return true; }