projects
/
platform
/
core
/
pim
/
contacts-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6a896d
)
ctsvc_end_trans before return
84/45784/2
author
Gukhwan Cho
<gh78.cho@samsung.com>
Mon, 10 Aug 2015 08:34:38 +0000
(17:34 +0900)
committer
MyoungHoon Chae
<mhoon.chae@samsung.com>
Tue, 11 Aug 2015 08:29:16 +0000
(17:29 +0900)
Change-Id: Icd52206819b9317f2099395fd26e919cf811f016
Signed-off-by: Gukhwan Cho <gh78.cho@samsung.com>
native/ctsvc_db_plugin_contact.c
patch
|
blob
|
history
diff --git
a/native/ctsvc_db_plugin_contact.c
b/native/ctsvc_db_plugin_contact.c
index
7778518
..
72650b5
100644
(file)
--- a/
native/ctsvc_db_plugin_contact.c
+++ b/
native/ctsvc_db_plugin_contact.c
@@
-1051,8
+1051,10
@@
static inline int __ctsvc_contact_update_search_data(int contact_id, bool need_r
r = ctsvc_query_exec(query);
if (CONTACTS_ERROR_NONE != r) {
CTS_ERR("ctsvc_query_exec() Fail(%d)", r);
+ ctsvc_end_trans(false);
return r;
}
+ ctsvc_end_trans(false);
return ret;
}
else if (CONTACTS_ERROR_NONE != ret) {