diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-05-09 20:28:51 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-05-09 20:28:51 +0100 |
commit | 8ffab440619f5e520b2636ac212a0d7d1c627316 (patch) | |
tree | d859739184703612e5162b6087e5e120798c5f8e /libpqpp/pq-mock.h | |
parent | Tidy fixes for latest clang (diff) | |
download | libdbpp-postgresql-8ffab440619f5e520b2636ac212a0d7d1c627316.tar.bz2 libdbpp-postgresql-8ffab440619f5e520b2636ac212a0d7d1c627316.tar.xz libdbpp-postgresql-8ffab440619f5e520b2636ac212a0d7d1c627316.zip |
Get server version into a const local on construction
Diffstat (limited to 'libpqpp/pq-mock.h')
-rw-r--r-- | libpqpp/pq-mock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpqpp/pq-mock.h b/libpqpp/pq-mock.h index 685b75c..c802080 100644 --- a/libpqpp/pq-mock.h +++ b/libpqpp/pq-mock.h @@ -17,6 +17,7 @@ namespace PQ { protected: void DropDatabase() const override; void SetTablesToUnlogged() const; + const int serverVersion; }; } |