git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Radius (#7)
[stg.git]
/
projects
/
stargazer
/
plugins
/
store
/
postgresql
/
postgresql_store.h
diff --git
a/projects/stargazer/plugins/store/postgresql/postgresql_store.h
b/projects/stargazer/plugins/store/postgresql/postgresql_store.h
index b4a1c5e8718779f807710749f400fae3cb58c9fd..7b2e9604656e77ed5d54b996303af10aa7e45a01 100644
(file)
--- a/
projects/stargazer/plugins/store/postgresql/postgresql_store.h
+++ b/
projects/stargazer/plugins/store/postgresql/postgresql_store.h
@@
-26,6
+26,7
@@
#include <string>
#include <vector>
#include <string>
#include <vector>
+#include <mutex>
#include <libpq-fe.h>
#include <libpq-fe.h>
@@
-148,7
+149,7
@@
class POSTGRESQL_STORE : public STG::Store
std::string password;
std::string clientEncoding;
STG::ModuleSettings settings;
std::string password;
std::string clientEncoding;
STG::ModuleSettings settings;
- mutable
pthread_mutex_t
mutex;
+ mutable
std::mutex m_
mutex;
mutable int version;
int retries;
mutable int version;
int retries;