git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ticket 26. if (&set == this) checking removed in the operator().
[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 5b55f318a102117e550b22204531ffd6c9f53bf1..80431c0dd1c2f3b441256798b3bea2294568a871 100644
(file)
--- a/
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
+++ b/
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
@@
-40,7
+40,6
@@
#include <string>
#include <vector>
#include <string>
#include <vector>
-#include <algorithm>
#include <libpq-fe.h>
#include <libpq-fe.h>
@@
-97,8
+96,7
@@
std::string s;
for(i = settings.moduleParams.begin(); i != settings.moduleParams.end(); ++i)
{
for(i = settings.moduleParams.begin(); i != settings.moduleParams.end(); ++i)
{
- s = i->param;
- std::transform(s.begin(), s.end(), s.begin(), ToLower());
+ s = ToLower(i->param);
if (s == "server")
{
server = *(i->value.begin());
if (s == "server")
{
server = *(i->value.begin());
@@
-237,7
+235,7
@@
if (CommitTransaction())
return -1;
}
return -1;
}
-
WriteServLog
("POSTGRESQL_STORE: Current DB schema version: %d", version);
+
logger
("POSTGRESQL_STORE: Current DB schema version: %d", version);
return 0;
}
return 0;
}