| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
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 <hello@matteocollina.com>
Codecov Report❌ Patch coverage is 85.18519% with 4 lines in your changes missing coverage. Please review.
@@ 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
... and 27 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
| 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.
Nice.
Sorry, something went wrong.
Sorry, something went wrong.
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 <hello@matteocollina.com> PR-URL: #65041 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
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 <hello@matteocollina.com> PR-URL: #65041 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
| Back | FazBrowse Home | New Git URL |
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.