aboutsummaryrefslogtreecommitdiff
path: root/common/session
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-04-26 11:29:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-26 11:29:05 +0200
commit61ff4c0458fa0362e054970efbcc21d66240ccc9 (patch)
tree1a3376fce2d9a2f79583911529549c333fff23ea /common/session
parenta93ad74833e3a99a1421fd695a01a1fb15d1f2dd (diff)
Make session optional
Diffstat (limited to 'common/session')
-rw-r--r--common/session/driver.cxx1
-rw-r--r--common/session/makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/common/session/driver.cxx b/common/session/driver.cxx
index d8467c2..232aee6 100644
--- a/common/session/driver.cxx
+++ b/common/session/driver.cxx
@@ -10,6 +10,7 @@
#include <iostream>
#include <odb/database.hxx>
+#include <odb/session.hxx>
#include <odb/transaction.hxx>
#include <common/common.hxx>
diff --git a/common/session/makefile b/common/session/makefile
index 4facdbb..e9edc87 100644
--- a/common/session/makefile
+++ b/common/session/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 \
---table-prefix session_
+--generate-session --table-prefix session_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)