Quick fix for #1081 #1096
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-19#1096
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ui-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With this oneliner "Mark all messages as read" works without error.
perhaps it should be 998?
or even better, can you check if sqlExecuteChunked in helper_sql works correctly and use that instead?
If I understand correctly the objective is to take 999 items at a time, in this case the remainder from the division should be 0.
OK, I'll try.
i think if it's 0, it will execute the first chunk with just one item.
I don't understand how
sqlExecuteChunked()
can work without modification ofsqlStatement
because it containsidCount
placeholders.You're right, I missed that one. It can probably be fixed by having a placeholder (e.g.
{0}
) in the original statement, and replacing it the way you just did but inside each ofsqlExecuteChunked
loops.It probably works, at least for me.
I'll drop
0097ea6
If you test and approve this changes.Looks ok, I'll test it tomorrow and then merge.