Skip to content

testing/sqlcipher: enable SQLITE_ENABLE_UPDATE_DELETE_LIMIT

LN Liberda requested to merge selfisekai/aports:sqlcipher-delete-limit into master

noticed this background error in signal-desktop:

deleteOrphanedAttachments: error Error: SqliteError: near "LIMIT": syntax error
    at Database.prepare ([REDACTED]/node_modules/@signalapp/better-sqlite3/lib/methods/wrappers.js:5:21)
    at [REDACTED]/ts/sql/Server.js:4161:23
    at sqliteTransaction ([REDACTED]/node_modules/@signalapp/better-sqlite3/lib/methods/transaction.js:65:24)
    at Object.getKnownMessageAttachments ([REDACTED]/ts/sql/Server.js:4189:5)
    at MessagePort.<anonymous> ([REDACTED]/ts/sql/mainWorker.js:97:35)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:643:20)
    at exports.emitMessage (node:internal/per_context/messageport:23:28)
    at Worker.<anonymous> ([REDACTED]/ts/sql/main.js:64:26)
    at Worker.emit (node:events:527:28)
    at MessagePort.<anonymous> (node:internal/worker:233:53)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:643:20)
    at exports.emitMessage (node:internal/per_context/messageport:23:28)

Merge request reports

Loading