aboutsummaryrefslogtreecommitdiff
path: root/common/relationship-query
diff options
context:
space:
mode:
Diffstat (limited to 'common/relationship-query')
-rw-r--r--common/relationship-query/driver.cxx2
-rw-r--r--common/relationship-query/makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/relationship-query/driver.cxx b/common/relationship-query/driver.cxx
index ed96223..94a6141 100644
--- a/common/relationship-query/driver.cxx
+++ b/common/relationship-query/driver.cxx
@@ -9,8 +9,8 @@
#include <cassert>
#include <iostream>
-#include <odb/session.hxx>
#include <odb/database.hxx>
+#include <odb/session.hxx>
#include <odb/transaction.hxx>
#include <common/config.hxx> // HAVE_CXX11, HAVE_TR1_MEMORY
diff --git a/common/relationship-query/makefile b/common/relationship-query/makefile
index 619cf8b..87835ad 100644
--- a/common/relationship-query/makefile
+++ b/common/relationship-query/makefile
@@ -35,7 +35,7 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
$(gen) $(dist): export odb_options += --database $(db_id) --generate-schema \
---generate-query --table-prefix relationship_query_
+--generate-query --generate-session --table-prefix relationship_query_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)