After the write query request is completed
the cache value and database value are different
there is a need to call trim cache directrly after excuting write query
Change-Id: Icc7f87fa60c372fad7df6e31df4ae5055d36419d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
#include <vector>
#include "utils/logging.hh"
+#include "db_handle_provider.hh"
#include "pkgmgrinfo_debug.h"
#include "pkgmgrinfo_internal.h"
}
}
__free_query_list(queries, args_list);
+ database::DBHandleProvider::GetInst(GetUID()).TrimCache();
return ret;
}
return ret;