Delay Creation of cache if backup database is exist 47/287947/3
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 07:35:30 +0000 (16:35 +0900)
commit4bf9cff685617becd750141dd39c684fedf3c440
treea0e65bad3d2b4bb2478a74b8ce1dc3acdbf3ef03
parentd9bd0032eb376e68a2df1a48fb31fcfe3f629812
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>
src/server/database/cache_db_handler.cc
src/server/database/cache_db_handler.hh