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:
486e07e
)
remove redundancy code
54/45754/1
author
Gukhwan Cho
<gh78.cho@samsung.com>
Fri, 31 Jul 2015 10:36:00 +0000
(19:36 +0900)
committer
MyoungHoon Chae
<mhoon.chae@samsung.com>
Tue, 11 Aug 2015 05:29:57 +0000
(14:29 +0900)
Change-Id: I67faaa185f95aa14f363441be1d7955068031582
Signed-off-by: Gukhwan Cho <gh78.cho@samsung.com>
native/ctsvc_db_query.c
patch
|
blob
|
history
diff --git
a/native/ctsvc_db_query.c
b/native/ctsvc_db_query.c
index
25a1da2
..
adee62c
100644
(file)
--- a/
native/ctsvc_db_query.c
+++ b/
native/ctsvc_db_query.c
@@
-2251,7
+2251,6
@@
static inline int __ctsvc_db_search_records_with_query_exec(ctsvc_query_s *s_que
if (0 <= temp_len) len = temp_len;
if (condition && *condition) {
- len += snprintf(query+len, sizeof(query)-len, " AND (%s)", condition);
temp_len = SAFE_SNPRINTF(&query, &query_size, len, " AND (");
if (0 <= temp_len) len+= temp_len;
temp_len = SAFE_SNPRINTF(&query, &query_size, len, condition);