X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdb%2Fsqlite3recordset.cpp;h=2ec07912f10d10fe15eac1e9209ba54e7d4061e8;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=137f7b365621e493c41ed4285242c2995fda50b9;hpb=befd91205eff729a182f66de15374a577a8718f7;p=fms.git diff --git a/src/db/sqlite3recordset.cpp b/src/db/sqlite3recordset.cpp index 137f7b3..2ec0791 100644 --- a/src/db/sqlite3recordset.cpp +++ b/src/db/sqlite3recordset.cpp @@ -1,5 +1,7 @@ #include "../../include/db/sqlite3db/sqlite3recordset.h" +#include + #ifdef XMEM #include #endif @@ -88,8 +90,6 @@ void Recordset::Open(const std::string &sql, DB *db) Free(); m_currentrow=0; - //ZThread::Guard g(DB::instance()->m_mutex); - PThread::Guard g(DB::Instance()->m_mutex); if(sqlite3_get_table(db->GetDB(),sql.c_str(),&m_rs,&m_rows,&m_cols,NULL)==SQLITE_OK) { }