summaryrefslogtreecommitdiff
path: root/libpqpp/pq-mock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-mock.cpp')
-rw-r--r--libpqpp/pq-mock.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpqpp/pq-mock.cpp b/libpqpp/pq-mock.cpp
index 151f26d..414e02b 100644
--- a/libpqpp/pq-mock.cpp
+++ b/libpqpp/pq-mock.cpp
@@ -30,7 +30,9 @@ void
Mock::SetTablesToUnlogged() const
{
auto c = std::static_pointer_cast<Connection>(Mock::openConnection());
- if (c->serverVersion() < 90500) return;
+ if (c->serverVersion() < 90500) {
+ return;
+ }
auto s = c->select(R"SQL(
SELECT n.nspname, c.relname
FROM pg_class c, pg_namespace n