When attempting to use the new bulk persist mechanism, I stumpled upon a potential bug or at least something I do not understand
In ibodb/odb/database.ixx:741
the
persist_ <typename I, database_id DB>
method calls the
persist_<I, typename opt::object_type, id_common>
method.
Inside of the latter one (within database.txx) is
object_traits_impl<object_type, DB>::batch
referenced.
This one NEVER exists for DB = id_common. Only for id_pgsql etc.
So AFAIK the code in database.ixx is broken and line 741 should be
persist_<I, typename opt::object_type, DB >
Or did I misunderstand something?
When attempting to use the new bulk persist mechanism, I stumpled upon a potential bug or at least something I do not understand
In
ibodb/odb/database.ixx:741the
persist_ <typename I, database_id DB>method calls the
persist_<I, typename opt::object_type, id_common>method.
Inside of the latter one (within database.txx) is
object_traits_impl<object_type, DB>::batchreferenced.
This one NEVER exists for
DB = id_common. Only forid_pgsqletc.So AFAIK the code in
database.ixxis broken and line 741 should bepersist_<I, typename opt::object_type, DB >Or did I misunderstand something?