summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_pgsql.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp
index 0f6ef2c85..21c57bce1 100644
--- a/src/modules/extra/m_pgsql.cpp
+++ b/src/modules/extra/m_pgsql.cpp
@@ -1021,7 +1021,6 @@ SQLerror SQLConn::DoQuery(SQLrequest &req)
}
}
- Instance->Log(DEBUG, "Can't query until connection is complete");
return SQLerror(BAD_CONN, "Can't query until connection is complete");
}
@@ -1309,6 +1308,6 @@ class ModulePgSQLFactory : public ModuleFactory
extern "C" void * init_module( void )
{
- PQregisterThreadLock(pgthreadlock_t(1));
+// PQregisterThreadLock(pgthreadlock_t(1));
return new ModulePgSQLFactory;
}