git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed \r and spaces at the EOL in config files
[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 e316beafb87d68d4dceb9090b2830cced8793086..d9586b89f774052cedee341671d1dcb3aef414e1 100644
(file)
--- a/
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
+++ b/
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
@@
-22,7
+22,7
@@
* This file contains a realization of a base postgresql-storage plugin class
*
* v. 1.3
* This file contains a realization of a base postgresql-storage plugin class
*
* v. 1.3
- * FreeMb logging on d
o
sconnects added
+ * FreeMb logging on d
i
sconnects added
*
* v. 1.2
* Reconnection on faults added
*
* v. 1.2
* Reconnection on faults added
@@
-72,13
+72,14
@@
return pqStoreeCreator.GetStore();
//-----------------------------------------------------------------------------
POSTGRESQL_STORE::POSTGRESQL_STORE()
//-----------------------------------------------------------------------------
POSTGRESQL_STORE::POSTGRESQL_STORE()
- : connection(NULL)
+ : versionString("postgresql_store v.1.3"),
+ server("localhost"),
+ database("stargazer"),
+ user("stg"),
+ password("123456"),
+ version(0),
+ connection(NULL)
{
{
-server = "localhost";
-database = "stargazer";
-user = "stg";
-password = "123456";
-versionString = "postgresql_store v.1.3";
pthread_mutex_init(&mutex, NULL);
}
//-----------------------------------------------------------------------------
pthread_mutex_init(&mutex, NULL);
}
//-----------------------------------------------------------------------------