X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fdb%2Fsqlite3recordset.cpp;h=9ddfb23c34d1dc45ce9c3a6bd17c704d33247f46;hb=c7fcb4c4bc5012a584add81a9509fc1f84c3c688;hp=e9cdf5fa572d382b4c44ab8c9979f50ef0cba8c1;hpb=964f55fd550fc711c0320ce6a24ad713040695d0;p=fms.git diff --git a/src/db/sqlite3recordset.cpp b/src/db/sqlite3recordset.cpp index e9cdf5f..9ddfb23 100644 --- a/src/db/sqlite3recordset.cpp +++ b/src/db/sqlite3recordset.cpp @@ -76,7 +76,8 @@ void Recordset::Open(const std::string &sql, DB *db) Free(); m_currentrow=0; - ZThread::Guard g(DB::instance()->m_mutex); + //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) { }