namespace pkgmgr_common {
namespace database {
-PkgSetDBHandler::PkgSetDBHandler(uid_t uid)
- : AbstractDBHandler(uid), uid_(uid) {}
+PkgSetDBHandler::PkgSetDBHandler(uid_t uid, int pid)
+ : AbstractDBHandler(uid, pid), uid_(uid) {}
PkgSetDBHandler::~PkgSetDBHandler() {}
int ret = 0;
- DBHandleProvider::GetInst(uid_).SetMemoryMode(true);
+ DBHandleProvider::GetInst(uid_).SetMemoryMode(GetPID(), true);
std::vector<sqlite3*> conn_list = GetConnection();
sqlite3* conn = conn_list.front();
if (write_type_ == Insert) {