Skip to content

Question on using in memory db for examples/update.cpp  #369

@leonyu1010

Description

@leonyu1010

Hi there, I am trying out the examples/update.cpp. It works fine as-is. However, if I change to in memory db as follows

stor = std::make_unique(initStorage(":memory:"));

then it would throw exception on the first call of stor->replace().

In comparison, examples/in_memory.cpp works fine for me.

What is the difference in terms of using in-memory DB between the two examples?

thank you for your time and help.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions