diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2024-01-08 11:18:25 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2024-01-30 17:26:45 -0300 |
commit | dca874e838c2599bd24433675b291168f8e7b055 (patch) | |
tree | b70355dfe5ba99c5cbd6cd5870831e41433e5f91 /.gitignore | |
parent | fdf9f66909a354a95f4b7c5f092f0e9fbe1baa7c (diff) |
sqlite: add ability to interrupt statements
By encapsulating sqlite3_exec into its own standalone method
and introducing the 'SQliteExecHandler' class, we enable the
ability to test db statements execution failures within the
unit test framework.
This is used in the following-up commit to exercise a deadlock
and improve our wallet db error handling code.
Moreover, the future encapsulation of other sqlite functions
within this class will contribute to minimize the impact of
any future API changes.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions