Delay Creation of cache if backup database is exist 29/288029/1
authorilho kim <ilho159.kim@samsung.com>
Wed, 8 Feb 2023 06:37:28 +0000 (15:37 +0900)
committerilho kim <ilho159.kim@samsung.com>
Thu, 9 Feb 2023 08:01:06 +0000 (08:01 +0000)
commit303dc317058966d994bd991a972de522edcd02be
treee0fd83ab79c5226daa0e7bade152d2eb1ecb4a18
parent7cfc6f579f6f35ef05964751f2e9bb57a1c47ee5
Delay Creation of cache if backup database is exist

If the backup database created during pkg_upgrade remains due to power off
the backup database will be restored in the next pkg_upgrade
In this case, the package information of the database and cache may be
different

Change-Id: I3b17a659cdaeccd3fc2c01224336f771b4bd7f5f
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
(cherry picked from commit 4bf9cff685617becd750141dd39c684fedf3c440)
src/server/database/cache_db_handler.cc
src/server/database/cache_db_handler.hh