sqlite: refactor error helpers and user function pointers - #62794
sqlite: refactor error helpers and user function pointers#62794thisalihassan wants to merge 2 commits into
Conversation
|
Review requested:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #62794 +/- ##
=======================================
Coverage 90.14% 90.14%
=======================================
Files 744 744
Lines 242518 242500 -18
Branches 45685 45683 -2
=======================================
- Hits 218611 218606 -5
+ Misses 15396 15390 -6
+ Partials 8511 8504 -7
🚀 New features to boost your workflow:
|
|
@nodejs/sqlite @geeksilva97 can I get a review please? |
|
Sure. Will take a look. |
|
cc @nodejs/cpp-reviewers |
|
Is this okay to land @geeksilva97, or do we need an additional review from CPP team? |
PR LGTM. We can get it landed, I was just looking for another eye before moving further. We need a new CI run since it's been a while |
This comment was marked as outdated.
This comment was marked as outdated.
|
@geeksilva97 @trivikr do I need to rebase or something? |
yes, please |
7d3237b to
fe5a33c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
There are errors thrown during compilation error: no matching constructor for initialization of 'CallbackDepthGuard'
note: no known conversion from 'BaseObjectWeakPtr<DatabaseSync>'
to 'DatabaseSync *'The fix is likely going to be explicitly passing the stored pointer at the three locations - CallbackDepthGuard guard(self->db_);
+ CallbackDepthGuard guard(self->db_.get());@thisalihassan Can you fix this in a commit and push? |
|
Thanks @trivikr let me check |
Signed-off-by: Ali Hassan <ali-hassan27@outlook.com>
fe5a33c to
43d0172
Compare
|
@trivikr I have fixed the compliation issue, but the CI is red due to infra outages |
Two small independent refactors.
CreateSQLiteErroroverloadsBaseObjectWeakPtrfor user functions (style consistency)