aboutsummaryrefslogtreecommitdiff
path: root/mssql/query
diff options
context:
space:
mode:
Diffstat (limited to 'mssql/query')
-rw-r--r--mssql/query/makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mssql/query/makefile b/mssql/query/makefile
index 53526b9..cd3a457 100644
--- a/mssql/query/makefile
+++ b/mssql/query/makefile
@@ -34,8 +34,9 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mssql --generate-schema \
---generate-query --mssql-server-version 9.0 --table-prefix mssql_query_
+$(gen) $(dist): export odb_options += --database mssql --default-database \
+common --generate-schema --generate-query --mssql-server-version 9.0 \
+--table-prefix mssql_query_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)