Add DB validation check when db init 00/158300/1
authorMyungki Lee <mk5004.lee@samsung.com>
Tue, 31 Oct 2017 02:55:41 +0000 (11:55 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Tue, 31 Oct 2017 02:55:41 +0000 (11:55 +0900)
commitdd9aa717faa5f17100c2a1e1e475d73bc58e9b27
tree0df694f1ff4169466cbd671b1296121dd5033e49
parent958265b67903d308457457bc3d7a92728fdc375b
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: I61168c628dc55384d25949d196b320111ece1176
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
src/badge_db.c