package manager CAPI are not robustness when they are called recursively 19/31819/3 accepted/tizen/common/20141211.182715 accepted/tizen/ivi/20141211.132550 submit/tizen_common/20141211.082808 submit/tizen_ivi/20141211.082003
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Wed, 10 Dec 2014 14:46:59 +0000 (15:46 +0100)
committerBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Wed, 10 Dec 2014 15:12:40 +0000 (07:12 -0800)
commit81ec3ec48b6a7f8823a861bd640a6e65b5f3bb90
treea95ca6dc46dd06c3dd32b2fda673e40cc9f5be13
parent868104fed4766063713eff0184bb9daef30bcfe9
package manager CAPI are not robustness when they are called recursively

For example the CAPI pkgmgrinfo_appinfo_usr_filter_foreach_appinfo with a callback that also
call a CAPI.

Refactoring Database management to allow it.

BUG-Tizen=TC-2221
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: If4bd6c7687d1b875f945935488d93563dae92e3c
src/pkgmgr-info.c