mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
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:
@@ -324,6 +324,8 @@ bool DBDriverSqlite3::connectDatabaseQuery(const std::string & url, bool overwri
|
|||||||
//Set database optimizations
|
//Set database optimizations
|
||||||
this->setCacheSize(_cacheSize); // this will call the SQL
|
this->setCacheSize(_cacheSize); // this will call the SQL
|
||||||
this->setJournalMode(_journalMode); // 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user