-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question on using in memory db for examples/update.cpp #369
Comments
Yeah, I can reproduce it too. This is strange cause different example ( |
We are seeing the same issue after updating to the dev branch to use the new backup functionality. We had to work around it by always using files, which is fine, but destroys our performance, meaning we cannot release. Any idea on cause or estimate on fix? |
I shall look through it in a few days. I am busy right now with reviewing the PR with code formatting and prepared statements feature. Sorry for waiting |
I have gone through all of the examples in the dev branch, and I cannot get a single one to work when using the "initStorage" technique with an in memory database. They all work fine with a file. The call to sync_schema passes, but any CRUD method causes an exception with no such table: [table name]: SQL logic error. |
oops. Looks like something critical. Thank you. I shall look through it today or tomorrow |
fix is on its way #402 |
bug is fixed. Please check out |
Any release inc with this fix? @fnc12 |
@helmesjo yes, in a month |
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.
The text was updated successfully, but these errors were encountered: