diff options
author | Kyeonghun Lee <kh9090.lee@samsung.com> | 2016-11-01 21:36:44 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2016-11-01 21:36:44 -0700 |
commit | 902a269e437ab2ec2ea6031fc600f57fe33f5a61 (patch) | |
tree | 3fc2100a5eee4dd02012208d59c484ea9e6fe10d | |
parent | 6bb591ec2ca90f2a033aa155471f90ee996bc16c (diff) | |
parent | e448fbf9e6ee82ca1704e61a9f75a84e1607bd34 (diff) | |
download | msg-service-902a269e437ab2ec2ea6031fc600f57fe33f5a61.tar.gz msg-service-902a269e437ab2ec2ea6031fc600f57fe33f5a61.tar.bz2 msg-service-902a269e437ab2ec2ea6031fc600f57fe33f5a61.zip |
Merge "[TSAM-9200] fix query error" into tizen_3.0
-rw-r--r-- | manager/src/msg-manager-notification.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manager/src/msg-manager-notification.cpp b/manager/src/msg-manager-notification.cpp index d977352..533ba53 100644 --- a/manager/src/msg-manager-notification.cpp +++ b/manager/src/msg-manager-notification.cpp @@ -1787,7 +1787,7 @@ int getLatestMsgInfo(MSG_MGR_NOTI_INFO_S *noti_info, bool isForInstantMessage) "B.ATTACHMENT_COUNT " "FROM %s B " "LEFT JOIN %s A ON A.CONV_ID=B.CONV_ID " - "AND B.READ_STATUS=0 AND (B.FOLDER_ID=%d OR B.FOLDER_ID=%d) " + "WHERE B.READ_STATUS=0 AND (B.FOLDER_ID=%d OR B.FOLDER_ID=%d) " "AND B.STORAGE_ID = %d " "ORDER BY B.DISPLAY_TIME DESC;", MSG_MMS_TYPE, MSG_NETWORK_RECEIVED, MMS_PLUGIN_MESSAGE_TABLE_NAME, |