aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/simple-object-statements.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-06-18 09:32:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-06-18 09:32:10 +0200
commit1e341e5902b18fcf076a04eb4be164748d8761d8 (patch)
tree4e00803a7b370b9a14965bb7cac5fd2a04604634 /odb/oracle/simple-object-statements.txx
parent6f2dbb7c82c53591f9070ea336f9437f2392fd8f (diff)
Allocate container traits lazily and only when their definition is seen
This fixes a problem with polymorphic hierarchies spread over multiple files in which case the source code for the derived class does not have the definition of the container traits for the base class. See the comment in the source code for further details.
Diffstat (limited to 'odb/oracle/simple-object-statements.txx')
-rw-r--r--odb/oracle/simple-object-statements.txx1
1 files changed, 0 insertions, 1 deletions
diff --git a/odb/oracle/simple-object-statements.txx b/odb/oracle/simple-object-statements.txx
index a5f30e4..15c44fd 100644
--- a/odb/oracle/simple-object-statements.txx
+++ b/odb/oracle/simple-object-statements.txx
@@ -42,7 +42,6 @@ namespace odb
object_statements<T>::
object_statements (connection_type& conn)
: object_statements_base (conn),
- container_statement_cache_ (conn),
select_image_binding_ (select_image_bind_, select_column_count),
insert_image_binding_ (insert_image_bind_, insert_column_count),
update_image_binding_ (update_image_bind_,