Add DB validation check when db init 03/158303/1
authorMyungki Lee <mk5004.lee@samsung.com>
Tue, 31 Oct 2017 04:37:35 +0000 (13:37 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Tue, 31 Oct 2017 04:37:35 +0000 (13:37 +0900)
commit923404d229d8fc8acca71c9ce305bbfbc1ef5e1d
tree3458ec20770c292cd3441afa4086a76508857cdf
parent43acec22959eb36cec1c70000c455e00a3e1c610
Add DB validation check when db init

- Added integrity check related logic to db init process to check
  if db integrity is broken due to file system error and initialize db.

Change-Id: Ie672c0e811a10061f51ec389371b8f62561a6810
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
lib/src/shortcut_db.c