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: clear SQLTagStore bindings by mcollina · Pull Request #65041 · nodejs/node Conversation
Member
SQLTagStore reused cached statements without clearing values bound by a previous execution. Clear bindings before binding new values and reject parameters that do not correspond to template substitutions.
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. SQLTagStore reused cached statements without clearing values bound by a previous execution. Clear bindings before binding new values and reject parameters that do not correspond to template substitutions. Signed-off-by: Matteo Collina <[email protected]>
mcollina
force-pushed
the
fix-sqlite-tagstore-bindings
branch
from
35ab44c to
78f82ca
Compare
|
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #65041 +/- ## ======================================= Coverage 90.30% 90.30% ======================================= Files 759 759 Lines 247597 247586 -11 Branches 46679 46673 -6 ======================================= + Hits 223591 223592 +1 + Misses 15469 15459 -10 + Partials 8537 8535 -2
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| uint32_t n_params = args.Length() - 1; | ||
| int param_count = sqlite3_bind_parameter_count(stmt->statement_); | ||
| if (param_count != static_cast<int>(n_params)) { | ||
| THROW_ERR_INVALID_ARG_VALUE( | ||
| env, | ||
| "SQLite parameters must be bound using template literal placeholders."); | ||
| return false; | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Nice.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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 8fc7341 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
SQLTagStore reused cached statements without clearing values bound by a previous execution. Clear bindings before binding new values and reject parameters that do not correspond to template substitutions. Signed-off-by: Matteo Collina <[email protected]> PR-URL: #65041 Reviewed-By: René <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
SQLTagStore reused cached statements without clearing values bound by a previous execution. Clear bindings before binding new values and reject parameters that do not correspond to template substitutions. Signed-off-by: Matteo Collina <[email protected]> PR-URL: #65041 Reviewed-By: René <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
SQLTagStore reused cached statements without clearing values bound by a previous execution. Clear bindings before binding new values and reject parameters that do not correspond to template substitutions. Signed-off-by: Matteo Collina <[email protected]> PR-URL: #65041 Reviewed-By: René <[email protected]> Reviewed-By: Trivikram Kamat <[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.