aboutsummaryrefslogtreecommitdiff
path: root/pgsql/custom
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-29 10:04:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-29 10:04:47 +0200
commitc9b3d19c3e1771cb1f0a3d93552e48e5f1d47025 (patch)
tree714be71aec621f4a4bfa2b00d27839332bd1f9a1 /pgsql/custom
parente43ec751d10b8346e1450781d64595b6fb7e1185 (diff)
Don't make database default in database-specific tests
Diffstat (limited to 'pgsql/custom')
-rw-r--r--pgsql/custom/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/pgsql/custom/makefile b/pgsql/custom/makefile
index 9c4cf91..4cdc1a2 100644
--- a/pgsql/custom/makefile
+++ b/pgsql/custom/makefile
@@ -34,9 +34,10 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database pgsql --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' \
---hxx-prologue '\#include "query.hxx"' --table-prefix pgsql_custom_
+$(gen) $(dist): export odb_options += --database pgsql --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --hxx-prologue '\#include "query.hxx"' \
+--table-prefix pgsql_custom_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)