Repository navigation
Commit 18a995b
fix(sqlite): guard json_encode fallback and seal updateAttribute cursor
`getLikeCondition` for array CONTAINS now mirrors MariaDB's `?: ''`
guard so NAN/INF (which return `false`) don't degrade into an empty
LIKE pattern that silently matches every row.
`updateAttribute` resize scan also leaked the prepared cursor when
`execute()` threw — the explicit `closeCursor()` came after the
fetch and never ran on the failure path. Wrapped in try/finally
so the cursor closes regardless.1 parent 8d6956a commit 18a995b
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
577 | | - | |
578 | 577 | | |
579 | | - | |
580 | | - | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
581 | 584 | | |
582 | 585 | | |
583 | 586 | | |
| |||
3231 | 3234 | | |
3232 | 3235 | | |
3233 | 3236 | | |
3234 | | - | |
| 3237 | + | |
3235 | 3238 | | |
3236 | 3239 | | |
3237 | 3240 | | |
| |||
0 commit comments