diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-17 13:34:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-17 13:34:17 +0200 |
commit | efebd5ea2e6b0cf4e272614075c8346c0ef16cba (patch) | |
tree | df0ef61b9b84cbcd2c05bc06c6b4269e2624d51e /odb/sqlite/polymorphic-object-statements.hxx | |
parent | 5d693f6a783b8b206b9543328eb34f942db10ecf (diff) |
Update SQLite
Diffstat (limited to 'odb/sqlite/polymorphic-object-statements.hxx')
-rw-r--r-- | odb/sqlite/polymorphic-object-statements.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/odb/sqlite/polymorphic-object-statements.hxx b/odb/sqlite/polymorphic-object-statements.hxx index 2586cb0..4464fa3 100644 --- a/odb/sqlite/polymorphic-object-statements.hxx +++ b/odb/sqlite/polymorphic-object-statements.hxx @@ -315,7 +315,8 @@ namespace odb conn_, object_traits::persist_statement, object_traits::versioned, // Process if versioned. - insert_image_binding_)); + insert_image_binding_, + 0)); } return *persist_; @@ -381,6 +382,7 @@ namespace odb return extra_statement_cache_.get ( conn_, image_, + id_image (), id_image_binding (), &id_image_binding ()); // Note, not id+version. } @@ -419,8 +421,9 @@ namespace odb root_statements_type& root_statements_; base_statements_type& base_statements_; - extra_statement_cache_ptr<extra_statement_cache_type, image_type> - extra_statement_cache_; + extra_statement_cache_ptr<extra_statement_cache_type, + image_type, + id_image_type> extra_statement_cache_; image_type image_; |