Dispatch write ahead logging through our job queue. SQL logging improvements.

This commit is contained in:
JoelKatz
2013-01-28 14:32:52 -08:00
parent e48ef29f8c
commit faa344c7d0
7 changed files with 47 additions and 27 deletions

View File

@@ -18,6 +18,7 @@
*/
class SqliteDatabase;
class JobQueue;
class Database
{
@@ -86,8 +87,8 @@ public:
// float getSingleDBValueFloat(const char* sql);
// char* getSingleDBValueStr(const char* sql, std::string& retStr);
virtual bool setupCheckpointing() { return false; }
virtual SqliteDatabase* getSqliteDB() { return NULL; }
virtual bool setupCheckpointing(JobQueue*) { return false; }
virtual SqliteDatabase* getSqliteDB() { return NULL; }
};
#endif