git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'github/master'
[stg.git]
/
projects
/
stargazer
/
plugins
/
store
/
postgresql
/
postgresql_store.cpp
diff --git
a/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
b/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
index 2146d66483f32dc9179122828cbe0b146584694d..e57382867d6169e00106ac7e3cc1e25315f6a683 100644
(file)
--- a/
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
+++ b/
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
@@
-40,9
+40,6
@@
#include "postgresql_store.h"
#include "postgresql_store.h"
-#include "postgresql_store_utils.h"
-#include "postgresql_store.h"
-
#include "stg/common.h" // str2x, printfd
#include <string>
#include "stg/common.h" // str2x, printfd
#include <string>
@@
-69,7
+66,6
@@
POSTGRESQL_STORE::POSTGRESQL_STORE()
connection(NULL),
logger(STG::PluginLogger::get("store_postgresql"))
{
connection(NULL),
logger(STG::PluginLogger::get("store_postgresql"))
{
-pthread_mutex_init(&mutex, NULL);
}
//-----------------------------------------------------------------------------
POSTGRESQL_STORE::~POSTGRESQL_STORE()
}
//-----------------------------------------------------------------------------
POSTGRESQL_STORE::~POSTGRESQL_STORE()
@@
-78,7
+74,6
@@
if (connection)
{
PQfinish(connection);
}
{
PQfinish(connection);
}
-pthread_mutex_destroy(&mutex);
}
//-----------------------------------------------------------------------------
int POSTGRESQL_STORE::ParseSettings()
}
//-----------------------------------------------------------------------------
int POSTGRESQL_STORE::ParseSettings()