aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/section-statements.hxx
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/section-statements.hxx
parentc3248cd60418cee935508f62a3436970f9d234b2 (diff)
Schema versioning support
Diffstat (limited to 'odb/sqlite/section-statements.hxx')
-rw-r--r--odb/sqlite/section-statements.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/sqlite/section-statements.hxx b/odb/sqlite/section-statements.hxx
index 3f0d9c4..8bdbda1 100644
--- a/odb/sqlite/section-statements.hxx
+++ b/odb/sqlite/section-statements.hxx
@@ -100,6 +100,8 @@ namespace odb
new (details::shared) select_statement_type (
conn_,
traits::select_statement,
+ traits::versioned, // Process if versioned.
+ false, // Don't optimize.
id_binding_,
select_image_binding_));
@@ -114,6 +116,7 @@ namespace odb
new (details::shared) update_statement_type (
conn_,
traits::update_statement,
+ traits::versioned, // Process if versioned.
update_image_binding_));
return *update_;