git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction of adding parameters' values in methods USER_IMPL::Connect, USER_IMPL...
[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 7c79baff6b6df487391136caf3356d9f94db4b11..dd2fbbab7a168ed159feff737cf04e63be0f4898 100644
(file)
--- a/
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
+++ b/
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
@@
-49,12
+49,17
@@
#include "postgresql_store_utils.h"
#include "postgresql_store.h"
#include "postgresql_store_utils.h"
#include "postgresql_store.h"
-PLUGIN_CREATOR<POSTGRESQL_STORE> pqStoreeCreator;
+namespace
+{
+PLUGIN_CREATOR<POSTGRESQL_STORE> pgsc;
+}
+
+extern "C" STORE * GetStore();
//-----------------------------------------------------------------------------
STORE * GetStore()
{
//-----------------------------------------------------------------------------
STORE * GetStore()
{
-return p
qStoreeCreator
.GetPlugin();
+return p
gsc
.GetPlugin();
}
//-----------------------------------------------------------------------------
}
//-----------------------------------------------------------------------------
@@
-88,7
+93,7
@@
pthread_mutex_destroy(&mutex);
int POSTGRESQL_STORE::ParseSettings()
{
std::vector<PARAM_VALUE>::iterator i;
int POSTGRESQL_STORE::ParseSettings()
{
std::vector<PARAM_VALUE>::iterator i;
-string s;
+st
d::st
ring s;
for(i = settings.moduleParams.begin(); i != settings.moduleParams.end(); ++i)
{
for(i = settings.moduleParams.begin(); i != settings.moduleParams.end(); ++i)
{