mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
assert on item select
This commit is contained in:
parent
59d7c0c311
commit
5c6ed227a7
1 changed files with 2 additions and 1 deletions
|
|
@ -168,7 +168,8 @@ final class SyncEngine
|
|||
itemdb.insert(id, name, type, eTag, cTag, mtime, parentId, crc32);
|
||||
}
|
||||
Item newItem;
|
||||
itemdb.selectById(id, newItem);
|
||||
bool found = itemdb.selectById(id, newItem);
|
||||
assert(found);
|
||||
|
||||
// TODO add item in the db only if correctly downloaded
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue