projects
/
platform
/
core
/
api
/
notification.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3e0b2
)
Fix wrong query
64/205964/1
author
hyunho
<hhstark.kang@samsung.com>
Mon, 13 May 2019 01:26:30 +0000
(10:26 +0900)
committer
hyunho
<hhstark.kang@samsung.com>
Mon, 13 May 2019 01:26:30 +0000
(10:26 +0900)
Change-Id: Idc4837bc3e9c1cb63900986a5e3f36bea7d2a7e3
Signed-off-by: hyunho <hhstark.kang@samsung.com>
notification-ex/db_manager.cc
patch
|
blob
|
history
diff --git
a/notification-ex/db_manager.cc
b/notification-ex/db_manager.cc
index
d180077
..
fc3b38a
100644
(file)
--- a/
notification-ex/db_manager.cc
+++ b/
notification-ex/db_manager.cc
@@
-716,7
+716,7
@@
list<shared_ptr<item::AbstractItem>> DBManager::GetNotificationList(int uid) {
" ORDER BY insert_time DESC", uid);
} else {
query = sqlite3_mprintf("SELECT data FROM noti_ex_list"
- " WHERE uid = %d AND (policy & %d)
!
= 0 ORDER BY insert_time DESC",
+ " WHERE uid = %d AND (policy & %d)
=
= 0 ORDER BY insert_time DESC",
uid, static_cast<int>(item::AbstractItem::Policy::SimMode));
}