Fixed race condition where client cookie callbacks could be fired against wrong clients (bug 3375).

This commit is contained in:
David Anderson
2008-10-31 08:28:08 -05:00
parent 8d78c74554
commit 3c18289465
4 changed files with 25 additions and 10 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ struct ParamData
class TQueryOp : public IDBThreadOperation
{
public:
TQueryOp(enum querytype type, int client);
TQueryOp(enum querytype type, int userid);
TQueryOp(enum querytype type, Cookie *cookie);
~TQueryOp() {}
@@ -102,7 +102,7 @@ private:
enum querytype m_type;
/* Data to be passed to the callback */
int m_client;
int m_userid;
int m_insertId;
Cookie *m_pCookie;
};