Tan Li Boon

Results 19 comments of Tan Li Boon

Ok so here's what I noticed. I can see that the option `USERVER_FEATURE_TESTSUITE` is in `cmake/UserverTestsuite.cmake:5`. I ran the command `cmake -DUSERVER_FEATURE_TESTSUITE=OFF ..`. On CMake 3.23, the flag is successfully...

The minor problem here is that `sqlite3_unlock_notify()` can be applied on a per-step basis, i.e. different statements and steps can have different callbacks. When you write it as `storage.unlock_notify( ......

Actually, on second thoughts, I don't have a problem with a connection-wide unlock-notify setter, although I imagine that eventually there can be a per-statement unlock-notify handler. It has to be...

Sorry, I had a few things to do over the last few days. Busy handler does not solve my problem (it solves another problem though 👍 ) I still need...

SQLITE_BUSY is a conflict between 2 different DB connections, whereas SQLITE_LOCKED is a conflict within the same DB connection. For my use case, both happens uncommonly, but when it does...

**Off topic** I was looking through the code when I noticed that some places can be improved or refactored. Let me know if you're interested in these changes. https://github.com/fnc12/sqlite_orm/compare/dev...undisputed-seraphim:simplify

Sorry for being missing again. I'll be making a series of pull requests for the `simplify` branch changes now.

For the past few days I have unsuccessfully tried to simulate a locked database in a unit test. Still trying to figure out how to do it in a non-probabilistic...

Some updates from me: I have worked around this issue in my code, so I no longer run into this issue. I no longer need this particular feature. So, please...

My problem was that I was trying to write to the same table from different threads. All I did was to avoid that be re-organizing the code. I also adjusted...