aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/section-statements.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-08-30 06:05:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-08-30 06:05:32 +0200
commitb5ed13549a87dccb56f756d6fbc5f7bf537e9640 (patch)
treefbd04a8212da865758db44b6f41c2d4818eea359 /odb/pgsql/section-statements.hxx
parent0745f84e2d5c7133f6ee6608487089d69d7ad519 (diff)
Statement processing/optimization base work
Diffstat (limited to 'odb/pgsql/section-statements.hxx')
-rw-r--r--odb/pgsql/section-statements.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/pgsql/section-statements.hxx b/odb/pgsql/section-statements.hxx
index b2f5c7b..d75fd66 100644
--- a/odb/pgsql/section-statements.hxx
+++ b/odb/pgsql/section-statements.hxx
@@ -104,6 +104,8 @@ namespace odb
conn_,
traits::select_name,
traits::select_statement,
+ traits::versioned, // Process if versioned.
+ false, // Don't optimize.
id_types_,
id_column_count,
id_binding_,
@@ -123,6 +125,7 @@ namespace odb
conn_,
traits::update_name,
traits::update_statement,
+ traits::versioned, // Process if versioned.
traits::update_types,
update_column_count + id_column_count +
managed_optimistic_update_column_count,