You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sqlite: skip copying changeset when no callbacks are set
Refactor: only copy the changeset before applying it when a filter or
onConflict callback is present, since SQLite can only invoke JavaScript
mid-apply in that case. Without callbacks, the input buffer cannot be
detached or modified during sqlite3changeset_apply(), so no copy is
needed and the buffer is passed through directly.
Address review comment from geeksilva97.
Signed-off-by: Matteo Collina <hello@matteocollina.com>
0 commit comments