diff options
-rw-r--r-- | src/modules/extra/m_mysql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index cc4a52655..7edf602e6 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -823,7 +823,7 @@ const char* ModuleSQL::OnRequest(Request* request) const char* returnval = NULL; - Parent->ConnMutex->Lock(); + ConnMutex->Lock(); if((iter = Connections.find(req->dbid)) != Connections.end()) { req->id = NewID(); @@ -835,7 +835,7 @@ const char* ModuleSQL::OnRequest(Request* request) req->error.Id(SQL_BAD_DBID); } - Parent->ConnMutex->Unlock(); + ConnMutex->Unlock(); QueueMutex->Unlock(); return returnval; |