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
This commit is contained in:
matlabbe
2013-02-04 22:19:28 +00:00
parent d7238be5b7
commit 2545e29e36

View File

@@ -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;
}