aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/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-10 14:10:45 +0200
commitd3ec68714365046a30379a410cdff52e5f5ae066 (patch)
tree36b971dd06626cc39b51eb0ec6e7f4f3ca40fcba /odb/mssql/section-statements.hxx
parent88f3f0282bad25c962783defa1e34dcbec60a07c (diff)
Schema versioning support
Diffstat (limited to 'odb/mssql/section-statements.hxx')
-rw-r--r--odb/mssql/section-statements.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/mssql/section-statements.hxx b/odb/mssql/section-statements.hxx
index bf26dba..d6ac777 100644
--- a/odb/mssql/section-statements.hxx
+++ b/odb/mssql/section-statements.hxx
@@ -97,6 +97,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_,
false));
@@ -112,6 +114,7 @@ namespace odb
new (details::shared) update_statement_type (
conn_,
traits::update_statement,
+ traits::versioned, // Process if versioned.
update_image_binding_,
traits::rowversion,
false));