Repository navigation
Commit 5a1073d
committed
fix(sync): chunk the hot-list lookup to stay within SQLite's bind limit
replaceHotList passed every hot number to one IN (...) query. SQLite on
Android 10 and 11 allows 999 bound variables, so a hot list over that
count would throw. The external blocklist path already chunks by 500;
the hot list now uses the same chunk size.1 parent dd8408d commit 5a1073d
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| |||
0 commit comments