aboutsummaryrefslogtreecommitdiff
path: root/oracle
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 /oracle
parente43ec751d10b8346e1450781d64595b6fb7e1185 (diff)
Don't make database default in database-specific tests
Diffstat (limited to 'oracle')
-rw-r--r--oracle/custom/makefile7
-rw-r--r--oracle/template/makefile4
-rw-r--r--oracle/types/makefile6
3 files changed, 9 insertions, 8 deletions
diff --git a/oracle/custom/makefile b/oracle/custom/makefile
index b27c3bd..b3d5e15 100644
--- a/oracle/custom/makefile
+++ b/oracle/custom/makefile
@@ -34,9 +34,10 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database oracle --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' --sql-interlude \
-"@ $(src_base)/custom.sql" --table-prefix oracle_custom_
+$(gen) $(dist): export odb_options += --database oracle --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --sql-interlude "@ $(src_base)/custom.sql" \
+--table-prefix oracle_custom_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/oracle/template/makefile b/oracle/template/makefile
index e68a09c..c931305 100644
--- a/oracle/template/makefile
+++ b/oracle/template/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database oracle --generate-schema \
---table-prefix oracle_template_ #@@ CHANGE THIS
+$(gen) $(dist): export odb_options += --database oracle --default-database \
+common --generate-schema --table-prefix oracle_template_ #@@ CHANGE THIS
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/oracle/types/makefile b/oracle/types/makefile
index 08eb42f..df6fefa 100644
--- a/oracle/types/makefile
+++ b/oracle/types/makefile
@@ -34,9 +34,9 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database oracle --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' \
---table-prefix oracle_types_
+$(gen) $(dist): export odb_options += --database oracle --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --table-prefix oracle_types_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)