mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-04 23:12:18 +02:00
assert on item select
This commit is contained in:
parent
59d7c0c311
commit
5c6ed227a7
|
@ -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…
Reference in a new issue