mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 14:47:12 -05:00
7 lines
No EOL
354 B
SQL
7 lines
No EOL
354 B
SQL
UPDATE revlog
|
|
SET ivl = min(max(round(ivl), -2147483648), 2147483647),
|
|
lastIvl = min(max(round(lastIvl), -2147483648), 2147483647),
|
|
time = min(max(round(time), 0), 2147483647)
|
|
WHERE ivl != min(max(round(ivl), -2147483648), 2147483647)
|
|
OR lastIvl != min(max(round(lastIvl), -2147483648), 2147483647)
|
|
OR time != min(max(round(time), 0), 2147483647) |