From: Maxim Mamontov Date: Sat, 18 Dec 2010 14:17:52 +0000 (+0200) Subject: Змінено порядок слідування методів і членів класу POSTGRESQL_STORE X-Git-Tag: 2.407-rc3~256 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/c44a8344b51fce4348e0b2d31111bf38ed554496 Змінено порядок слідування методів і членів класу POSTGRESQL_STORE --- diff --git a/projects/stargazer/plugins/store/postgresql/postgresql_store.h b/projects/stargazer/plugins/store/postgresql/postgresql_store.h index a731fbf9..ea2ec4f3 100644 --- a/projects/stargazer/plugins/store/postgresql/postgresql_store.h +++ b/projects/stargazer/plugins/store/postgresql/postgresql_store.h @@ -121,19 +121,6 @@ public: inline const string & GetStrError() const { return strError; }; inline const string & GetVersion() const { return versionString; }; private: - std::string versionString; - mutable std::string strError; - std::string server; - std::string database; - std::string user; - std::string password; - std::string clientEncoding; - MODULE_SETTINGS settings; - mutable pthread_mutex_t mutex; - mutable int version; - - PGconn * connection; - int StartTransaction() const; int CommitTransaction() const; int RollbackTransaction() const; @@ -154,9 +141,21 @@ private: int Connect(); int Reset() const; int CheckVersion() const; + + std::string versionString; + mutable std::string strError; + std::string server; + std::string database; + std::string user; + std::string password; + std::string clientEncoding; + MODULE_SETTINGS settings; + mutable pthread_mutex_t mutex; + mutable int version; + + PGconn * connection; }; extern const volatile time_t stgTime; #endif //POSTGRESQL_STORE_H -