diff options
Diffstat (limited to 'odb/oracle/section-statements.hxx')
-rw-r--r-- | odb/oracle/section-statements.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/oracle/section-statements.hxx b/odb/oracle/section-statements.hxx index 8579be5..47e3bb7 100644 --- a/odb/oracle/section-statements.hxx +++ b/odb/oracle/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_, 4096)); // Hardcode a 4kB LOB prefetch size. @@ -112,6 +114,7 @@ namespace odb new (details::shared) update_statement_type ( conn_, traits::update_statement, + traits::versioned, // Process if versioned. update_image_binding_)); return *update_; |