Don't hold sqlite locks across invocations.

This commit is contained in:
JoelKatz
2013-04-18 19:56:28 -07:00
parent e296a81c83
commit 3b90dfdcd1
3 changed files with 20 additions and 19 deletions

View File

@@ -34,12 +34,12 @@ public:
int getLastInsertID();
// returns false if there are no results
bool startIterRows();
bool startIterRows(bool finalize);
void endIterRows();
// call this after you executeSQL
// will return false if there are no more rows
bool getNextRow();
bool getNextRow(bool finalize);
bool getNull(int colIndex);
char* getStr(int colIndex,std::string& retStr);