summaryrefslogtreecommitdiff
path: root/libpqpp/pq-mock.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-05-09 20:28:51 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-05-09 20:28:51 +0100
commit8ffab440619f5e520b2636ac212a0d7d1c627316 (patch)
treed859739184703612e5162b6087e5e120798c5f8e /libpqpp/pq-mock.h
parentTidy fixes for latest clang (diff)
downloadlibdbpp-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.h1
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;
};
}