Repository navigation
Commit 73863bf
committed
fix(sqlite_impl): always copy changeset before applying
SQLite reaches JavaScript through a user-defined SQL function in a CHECK
constraint or trigger, not just through an explicit filter or onConflict
callback, so the previous condition left the input buffer detachable
while SQLite was still reading it.
Ports nodejs/node#65870.1 parent d85d924 commit 73863bf
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2491 | 2491 | | |
2492 | 2492 | | |
2493 | 2493 | | |
2494 | | - | |
2495 | | - | |
2496 | | - | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
2497 | 2499 | | |
2498 | | - | |
2499 | | - | |
| 2500 | + | |
2500 | 2501 | | |
2501 | 2502 | | |
2502 | 2503 | | |
| |||
0 commit comments