Fix db handlers
authorJunghyun Yeon <jungh.yeon@samsung.com>
Sat, 6 Mar 2021 05:41:49 +0000 (14:41 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Sat, 6 Mar 2021 05:41:49 +0000 (14:41 +0900)
commit2cfdf318840c6fe84bd6084b7058069dc295e6e3
tree8abf875764bee8ea51921037513f0642e7052ba3
parent4514173e501890f18fbf1e8c77ad6626a2bf254c
Fix db handlers

- Certificate-related db handler will use one handle.
- Pkg/Appinfo db handler will break out loop if return value is abnormal.

Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/database/appinfo_db_handler.cc
src/common/database/cert_get_db_handler.cc
src/common/database/cert_set_db_handler.cc
src/common/database/depinfo_db_handler.cc
src/common/database/pkg_get_db_handler.cc
src/common/database/query_handler.cc