projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a91bdda
)
Fix QueryParcelable
52/260152/4
author
Ilho Kim
<ilho159.kim@samsung.com>
Mon, 21 Jun 2021 02:11:18 +0000
(11:11 +0900)
committer
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 24 Jun 2021 04:10:54 +0000
(13:10 +0900)
Need to pass uid for user db request
Change-Id: Ib32c027b306993c824f02f92fcd88bcc7a9700d5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/parcel/query_parcelable.cc
patch
|
blob
|
history
diff --git
a/src/common/parcel/query_parcelable.cc
b/src/common/parcel/query_parcelable.cc
index
0d5265d
..
b34e1e8
100644
(file)
--- a/
src/common/parcel/query_parcelable.cc
+++ b/
src/common/parcel/query_parcelable.cc
@@
-34,7
+34,7
@@
QueryParcelable::QueryParcelable(uid_t uid,
const std::pair<int, std::vector<const char*>>& query_args,
AbstractDBHandler::DBType db_type,
AbstractDBHandler::OperationType op_type)
- : AbstractParcelable(
0
, ParcelableType::Query),
+ : AbstractParcelable(
uid
, ParcelableType::Query),
db_type_(db_type), op_type_(op_type) {
query_args_.emplace_back(CreateQueryArgs(query_args));
}