Prepare statements at startup and finalize them

This commit is contained in:
ShadowNinja
2014-03-28 13:42:37 -04:00
parent 66813a36b8
commit 6e565e93d1
2 changed files with 50 additions and 38 deletions

View File

@ -12,6 +12,9 @@ public:
~DBSQLite3();
private:
sqlite3 *m_db;
sqlite3_stmt *stmt_get_block_pos;
sqlite3_stmt *stmt_get_blocks;
};
#endif // _DB_SQLITE3_H