mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
transaction handling fixes
This commit is contained in:
@@ -47,7 +47,7 @@ async function copyFile(backupFile) {
|
||||
|
||||
for (; attemptCount < COPY_ATTEMPT_COUNT && !success; attemptCount++) {
|
||||
try {
|
||||
await sql.executeNoWrap(`VACUUM INTO '${backupFile}'`);
|
||||
await sql.executeWithoutTransaction(`VACUUM INTO '${backupFile}'`);
|
||||
|
||||
success = true;
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user