diff options
Diffstat (limited to 'odb/relational/source.hxx')
-rw-r--r-- | odb/relational/source.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx index 7961636..0003021 100644 --- a/odb/relational/source.hxx +++ b/odb/relational/source.hxx @@ -808,6 +808,14 @@ namespace relational os << statement << ".cache ();"; } + // Additional statements that need to be executed follow the call to init + // that initializes the query result image can be made here. + // + virtual void + init_value_extra () + { + } + virtual void traverse_composite (semantics::data_member* m, semantics::class_& c) { @@ -1642,6 +1650,9 @@ namespace relational } } + + init_value_extra (); + // If we are loading an eager pointer, then the call to init // above executes other statements which potentially could // change the image. |