From: Maxim Mamontov Date: Wed, 25 May 2011 11:36:32 +0000 (+0300) Subject: Members initialization order fixed in PostgreSQL storage plugin X-Git-Tag: 2.408-alpha~146 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/bfe43ecdff681f0b4395841a33a2721f8f8a983b Members initialization order fixed in PostgreSQL storage plugin --- diff --git a/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp b/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp index 4bf72c0e..2210c951 100644 --- a/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp +++ b/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp @@ -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); }