From 0e1f5c435f4f1f99211654c30bf363f7ceed8ef1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 15 Dec 2014 13:52:26 +0200 Subject: Fix bug in id-based custom view join of polymorphic objects See email from Mikhail.Tomilov@infotecs.ru/12-Dec-2014. --- odb/common-query.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'odb/common-query.hxx') diff --git a/odb/common-query.hxx b/odb/common-query.hxx index e0bad6e..49b6027 100644 --- a/odb/common-query.hxx +++ b/odb/common-query.hxx @@ -22,7 +22,7 @@ struct query_utils: virtual context semantics::class_&); // Traverse for nested structs. }; -// Generate query tags for pointers in this objects. +// Generate query tags for pointers in this object. // struct query_tags: object_columns_base, virtual context { @@ -149,6 +149,7 @@ struct query_columns: object_columns_base, virtual context protected: bool decl_; bool ptr_; + bool poly_ref_; string const_; // Const prefix or empty. bool in_ptr_; // True while we are "inside" an object pointer. string fq_name_; -- cgit v1.1