diff -r 15213de19689 -r e69a1297edbc extensions/clientprefs/query.cpp --- a/extensions/clientprefs/query.cpp Thu Feb 19 19:19:44 2009 +1300 +++ b/extensions/clientprefs/query.cpp Thu Feb 19 19:28:50 2009 +1300 @@ -51,7 +51,7 @@ case Query_SelectData: { - g_CookieManager.ClientConnectCallback(m_userid, m_pResult); + g_CookieManager.ClientConnectCallback(m_serial, m_pResult); break; } @@ -84,10 +84,10 @@ if (!BindParamsAndRun()) { g_pSM->LogError(myself, - "Failed SQL Query, Error: \"%s\" (Query id %i - userid %i)", + "Failed SQL Query, Error: \"%s\" (Query id %i - serial %i)", m_database->GetError(), m_type, - m_userid); + m_serial); } m_database->UnlockFromFullAtomicOperation(); @@ -115,10 +115,10 @@ delete this; } -TQueryOp::TQueryOp(enum querytype type, int userid) +TQueryOp::TQueryOp(enum querytype type, int serial) { m_type = type; - m_userid = userid; + m_serial = serial; m_database = NULL; m_insertId = -1; m_pResult = NULL;