Correctly check for database needs to be updated
commitce9bdaef5cdb8ab77d71481f20b25c9e6da1b9eb
authorVladimir Golovnev <glassez@yandex.ru>
Thu, 2 Mar 2023 17:31:38 +0000 (2 20:31 +0300)
committerGitHub <noreply@github.com>
Thu, 2 Mar 2023 17:31:38 +0000 (2 20:31 +0300)
treeb3a71ab031971af16b2e82e194fd05425a526a43
parent37c04fdeed02d8525460bd2c0bfc44bb583898b6
Correctly check for database needs to be updated

* Correctly check for database needs to be updated
* Create index only if not exists
* Double check whether database needs to be updated

PR #18638.
src/base/bittorrent/dbresumedatastorage.cpp