db/update/Service: initialize "progress" and "update_task_id"
Database update was randomly broken due to these uninitialized variables.
This commit is contained in:
parent
ddd36338da
commit
c953904343
@ -147,6 +147,8 @@ UpdateService::RunDeferred()
|
|||||||
}
|
}
|
||||||
|
|
||||||
UpdateService::UpdateService(EventLoop &_loop, SimpleDatabase &_db)
|
UpdateService::UpdateService(EventLoop &_loop, SimpleDatabase &_db)
|
||||||
:DeferredMonitor(_loop), db(_db), walk(_loop)
|
:DeferredMonitor(_loop), db(_db), progress(UPDATE_PROGRESS_IDLE),
|
||||||
|
update_task_id(0),
|
||||||
|
walk(_loop)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user