aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/section-statements.hxx
diff options
context:
space:
mode:
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));