Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion reader/app/Database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,10 +794,13 @@
cleanedCount++;
qCDebug(appLog) << "Cleaned orphan state:" << path;
}
// 同步清理书签(在同一事务中保证数据一致性)
// 同步清理书签与标签页组(在同一事务中保证数据一致性)
deleteQuery.prepare("DELETE FROM bookmark WHERE filePath = :filePath");

Check warning on line 798 in reader/app/Database.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Error code from the return value of function deleteQuery.prepare() is not used.
deleteQuery.bindValue(":filePath", path);
deleteQuery.exec();

Check warning on line 800 in reader/app/Database.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Error code from the return value of function deleteQuery.exec() is not used.
deleteQuery.prepare("DELETE FROM tabgroup WHERE filePath = :filePath");

Check warning on line 801 in reader/app/Database.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Error code from the return value of function deleteQuery.prepare() is not used.
deleteQuery.bindValue(":filePath", path);
deleteQuery.exec();

Check warning on line 803 in reader/app/Database.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Error code from the return value of function deleteQuery.exec() is not used.
}
transaction.commit();

Expand Down
Loading