From a2be5aa7e45c4f8c7561e92a7996170beba66815 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sat, 18 Dec 2010 16:18:30 +0200 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B4=D0=B0=D0=BD=D0=BE=20=D1=96?= =?utf8?q?=D0=BD=D1=96=D1=86=D1=96=D0=B0=D0=BB=D1=96=D0=B7=D0=B0=D1=86?= =?utf8?q?=D1=96=D1=8E=20=D1=87=D0=BB=D0=B5=D0=BD=D0=B0=20version=20=D1=83?= =?utf8?q?=20=D0=BA=D0=BE=D0=BD=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=82=D0=BE?= =?utf8?q?=D1=80=D1=96=20POSTGRESQL=5FSTORE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../plugins/store/postgresql/postgresql_store.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp b/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp index e316beaf..d9586b89 100644 --- 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 - * FreeMb logging on dosconnects added + * FreeMb logging on disconnects added * * v. 1.2 * Reconnection on faults added @@ -72,13 +72,14 @@ return pqStoreeCreator.GetStore(); //----------------------------------------------------------------------------- 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); } //----------------------------------------------------------------------------- -- 2.43.2