]> git.stg.codes - stg.git/commitdiff
Members initialization order fixed in PostgreSQL storage plugin
authorMaxim Mamontov <faust@gts.dp.ua>
Wed, 25 May 2011 11:36:32 +0000 (14:36 +0300)
committerMaxim Mamontov <faust@gts.dp.ua>
Wed, 25 May 2011 11:36:32 +0000 (14:36 +0300)
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp

index 4bf72c0e951f051b904768f643d07833c4b29d56..2210c9511a4965e4a124a9b217a9bc9d269d3169 100644 (file)
@@ -78,8 +78,8 @@ POSTGRESQL_STORE::POSTGRESQL_STORE()
       user("stg"),
       password("123456"),
       version(0),
-      connection(NULL),
-      retries(3)
+      retries(3),
+      connection(NULL)
 {
 pthread_mutex_init(&mutex, NULL);
 }