]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
Merge remote-tracking branch 'github/master'
[stg.git] / projects / stargazer / plugins / store / postgresql / postgresql_store.cpp
index ba47896694ec5f61c9a7d7930614a117661524ad..e57382867d6169e00106ac7e3cc1e25315f6a683 100644 (file)
@@ -66,7 +66,6 @@ POSTGRESQL_STORE::POSTGRESQL_STORE()
       connection(NULL),
       logger(STG::PluginLogger::get("store_postgresql"))
 {
-pthread_mutex_init(&mutex, NULL);
 }
 //-----------------------------------------------------------------------------
 POSTGRESQL_STORE::~POSTGRESQL_STORE()
@@ -75,7 +74,6 @@ if (connection)
     {
     PQfinish(connection);
     }
-pthread_mutex_destroy(&mutex);
 }
 //-----------------------------------------------------------------------------
 int POSTGRESQL_STORE::ParseSettings()