Closed maksym-kyryliuk closed 1 month ago
Can you create a reproducible example? All the tests are passing
@ospfranco Sure, here is the link to the example.
Load the app, and press the "Go to list" button. On the next screen, you will see 2 buttons:
Both of them leads to the warning below:
Despite the warning above, the logic seems to work correctly for both commit and rollback. But this warning appears every time now for these cases.
Upd: Updated the title and description of the issue to reflect it.
Also there are two logs seems wasn't removed from the release:
LOG BEFORE FLUSH
LOG AFER FLUSH
Link: https://github.com/OP-Engineering/op-sqlite/blob/main/src/index.ts#L352
You have to await the commit or the rollback. All sql operations are now async. After changing no warning is shown.
Describe the bug After updating to the 9.2.2, every time I manually commit or roll back the transaction I am getting a warning:
To reproduce the issue is enough to use code from documentation:
My configuration: