Commit 54b1534a authored by Chen Bill's avatar Chen Bill

reorder

parent 24aaef7a
...@@ -80,11 +80,11 @@ bool DataManager::ReadDB(sqlite3* pDB) { ...@@ -80,11 +80,11 @@ bool DataManager::ReadDB(sqlite3* pDB) {
_strings[cd.code] = cs; _strings[cd.code] = cs;
} }
} while (step != SQLITE_DONE); } while (step != SQLITE_DONE);
sqlite3_finalize(pStmt);
datas_begin = _datas.begin(); datas_begin = _datas.begin();
datas_end = _datas.end(); datas_end = _datas.end();
strings_begin = _strings.begin(); strings_begin = _strings.begin();
strings_end = _strings.end(); strings_end = _strings.end();
sqlite3_finalize(pStmt);
return true; return true;
} }
bool DataManager::LoadDB(const wchar_t* wfile) { bool DataManager::LoadDB(const wchar_t* wfile) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment