if (!is_offline_)
DBHandleProvider::GetInst(uid_).SetMemoryMode(GetPID());
- sqlite3* conn = GetConnection().front().first;
+ const auto& db = GetConnection().front().first;
- return certinfo_internal_set(conn, handle_->pkgid, handle_, uid_);
+ return internal::CertInfoSet(db, handle_->pkgid, handle_, uid_);
}
} // namespace database