X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/838ec5745c5198692997e0a1cb8a147682cba210..9f01f72d7b1da24b97bcfed87a41f37fd88e7d10:/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 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); }