diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-08-30 06:05:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-08-30 06:05:32 +0200 |
commit | b5ed13549a87dccb56f756d6fbc5f7bf537e9640 (patch) | |
tree | fbd04a8212da865758db44b6f41c2d4818eea359 /odb/pgsql/simple-object-statements.hxx | |
parent | 0745f84e2d5c7133f6ee6608487089d69d7ad519 (diff) |
Statement processing/optimization base work
Diffstat (limited to 'odb/pgsql/simple-object-statements.hxx')
-rw-r--r-- | odb/pgsql/simple-object-statements.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/pgsql/simple-object-statements.hxx b/odb/pgsql/simple-object-statements.hxx index 5840c26..a8d7ce3 100644 --- a/odb/pgsql/simple-object-statements.hxx +++ b/odb/pgsql/simple-object-statements.hxx @@ -375,6 +375,7 @@ namespace odb conn_, object_traits::persist_statement_name, object_traits::persist_statement, + object_traits::versioned, // Process if versioned. object_traits::persist_statement_types, insert_column_count, insert_image_binding_, @@ -394,6 +395,8 @@ namespace odb conn_, object_traits::find_statement_name, object_traits::find_statement, + object_traits::versioned, // Process if versioned. + false, // Don't optimize. object_traits::find_statement_types, id_column_count, id_image_binding_, @@ -413,6 +416,7 @@ namespace odb conn_, object_traits::update_statement_name, object_traits::update_statement, + object_traits::versioned, // Process if versioned. object_traits::update_statement_types, update_column_count + id_column_count, update_image_binding_, |