From fe625c9b53fa6b251cdc1c7ed5778ccd4dfeefa8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Jun 2012 09:32:09 +0200 Subject: 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. --- odb/mssql/polymorphic-object-statements.txx | 1 - 1 file changed, 1 deletion(-) (limited to 'odb/mssql/polymorphic-object-statements.txx') diff --git a/odb/mssql/polymorphic-object-statements.txx b/odb/mssql/polymorphic-object-statements.txx index 87ed696..9a9e4c0 100644 --- a/odb/mssql/polymorphic-object-statements.txx +++ b/odb/mssql/polymorphic-object-statements.txx @@ -63,7 +63,6 @@ namespace odb : statements_base (conn), root_statements_ (conn.statement_cache ().find_object ()), base_statements_ (conn.statement_cache ().find_object ()), - container_statement_cache_ (conn), insert_image_binding_ (insert_image_bind_, insert_column_count), update_image_binding_ (update_image_bind_, update_column_count + id_column_count) -- cgit v1.1