projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: Fix 64-bit ID SQLite -> Postgres migration
[quassel.git]
/
src
/
core
/
sqlitestorage.cpp
diff --git
a/src/core/sqlitestorage.cpp
b/src/core/sqlitestorage.cpp
index
6fe8ffd
..
e9882da
100644
(file)
--- a/
src/core/sqlitestorage.cpp
+++ b/
src/core/sqlitestorage.cpp
@@
-2427,7
+2427,7
@@
bool SqliteMigrationReader::readMo(SenderMO &sender)
bool SqliteMigrationReader::readMo(BacklogMO &backlog)
{
-
int
skipSteps = 0;
+
qint64
skipSteps = 0;
while (!next()) {
if (backlog.messageid < _maxId) {
bindValue(0, backlog.messageid.toQint64() + (skipSteps * stepSize()));