1.1 --- a/extensions/clientprefs/query.cpp Thu Feb 19 19:19:44 2009 +1300
1.2 +++ b/extensions/clientprefs/query.cpp Thu Feb 19 19:28:50 2009 +1300
1.3 @@ -51,7 +51,7 @@
1.4
1.5 case Query_SelectData:
1.6 {
1.7 - g_CookieManager.ClientConnectCallback(m_userid, m_pResult);
1.8 + g_CookieManager.ClientConnectCallback(m_serial, m_pResult);
1.9 break;
1.10 }
1.11
1.12 @@ -84,10 +84,10 @@
1.13 if (!BindParamsAndRun())
1.14 {
1.15 g_pSM->LogError(myself,
1.16 - "Failed SQL Query, Error: \"%s\" (Query id %i - userid %i)",
1.17 + "Failed SQL Query, Error: \"%s\" (Query id %i - serial %i)",
1.18 m_database->GetError(),
1.19 m_type,
1.20 - m_userid);
1.21 + m_serial);
1.22 }
1.23
1.24 m_database->UnlockFromFullAtomicOperation();
1.25 @@ -115,10 +115,10 @@
1.26 delete this;
1.27 }
1.28
1.29 -TQueryOp::TQueryOp(enum querytype type, int userid)
1.30 +TQueryOp::TQueryOp(enum querytype type, int serial)
1.31 {
1.32 m_type = type;
1.33 - m_userid = userid;
1.34 + m_serial = serial;
1.35 m_database = NULL;
1.36 m_insertId = -1;
1.37 m_pResult = NULL;