Skip to content

Potential Bug in Bulk Persist template (libodb/odb/database.ixx) #15

@N40

Description

@N40

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions