aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/statement-cache.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-10 14:10:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-17 12:04:01 +0200
commit31fd2870497686667f20b2d43467a07482f8ab40 (patch)
tree9e8fc08cd23b52699c62149f665f32df8892c7c1 /odb/sqlite/statement-cache.cxx
parentc3248cd60418cee935508f62a3436970f9d234b2 (diff)
Schema versioning support
Diffstat (limited to 'odb/sqlite/statement-cache.cxx')
-rw-r--r--odb/sqlite/statement-cache.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/sqlite/statement-cache.cxx b/odb/sqlite/statement-cache.cxx
index bb34aed..e29f83e 100644
--- a/odb/sqlite/statement-cache.cxx
+++ b/odb/sqlite/statement-cache.cxx
@@ -13,6 +13,7 @@ namespace odb
statement_cache::
statement_cache (connection& conn)
: conn_ (conn),
+ version_seq_ (conn.database ().schema_version_sequence ()),
// String lengths below include '\0', as per SQLite manual
// suggestions.
//