GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — sqlite: skip query trace while an exception is pending by gengjiawen · Pull Request #67538 · nodejs/node Conversation
Member
Summary
Return before publishing when the isolate has a pending exception or JavaScript cannot be entered. Test plan
Made with Cursor
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
gengjiawen
force-pushed
the
sqlite-trace-pending-exception
branch
from
28c28dd to
a2b5f1f
Compare
|
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #67538 +/- ## ========================================== + Coverage 90.67% 90.71% +0.03% ========================================== Files 800 801 +1 Lines 280489 280707 +218 Branches 54166 54169 +3 ========================================== + Hits 254336 254632 +296 + Misses 16277 16254 -23 + Partials 9876 9821 -55
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Database::TraceCallback published sqlite.db.query from SQLite's profile callback without checking for a pending JavaScript exception. SQLite runs that callback from sqlite3_step() when a statement fails and from sqlite3_reset(), so a throwing SQL function or an out-of-range integer conversion called subscriber JS while an exception was already set. Debug builds abort in V8's Invoke, and release builds drop the original error or replace it with an empty ERR_SQLITE_ERROR. Return before publishing when the isolate has a pending exception or JavaScript cannot be entered. Assisted-by: Cursor Grok 4.7 Signed-off-by: gengjiawen <[email protected]>
a2b5f1f to
821961b
Compare
There was an error while loading. Please reload this page.
|
CI: https://ci.nodejs.org/job/node-test-pull-request/79246/ 💚 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in f428cf2 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Database::TraceCallback published sqlite.db.query from SQLite's profile callback without checking for a pending JavaScript exception. SQLite runs that callback from sqlite3_step() when a statement fails and from sqlite3_reset(), so a throwing SQL function or an out-of-range integer conversion called subscriber JS while an exception was already set. Debug builds abort in V8's Invoke, and release builds drop the original error or replace it with an empty ERR_SQLITE_ERROR. Return before publishing when the isolate has a pending exception or JavaScript cannot be entered. Assisted-by: Cursor Grok 4.7 Signed-off-by: gengjiawen <[email protected]> PR-URL: #67538 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Database::TraceCallback published sqlite.db.query from SQLite's profile callback without checking for a pending JavaScript exception. SQLite runs that callback from sqlite3_step() when a statement fails and from sqlite3_reset(), so a throwing SQL function or an out-of-range integer conversion called subscriber JS while an exception was already set. Debug builds abort in V8's Invoke, and release builds drop the original error or replace it with an empty ERR_SQLITE_ERROR. Return before publishing when the isolate has a pending exception or JavaScript cannot be entered. Assisted-by: Cursor Grok 4.7 Signed-off-by: gengjiawen <[email protected]> PR-URL: nodejs#67538 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.