projects
/
platform
/
core
/
uifw
/
isf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
376fb1a
)
Fix incorrect return value comparison code
55/164355/1
author
Ji-hoon Lee
<dalton.lee@samsung.com>
Tue, 19 Dec 2017 00:54:54 +0000
(09:54 +0900)
committer
Ji-hoon Lee
<dalton.lee@samsung.com>
Tue, 19 Dec 2017 00:55:51 +0000
(09:55 +0900)
Change-Id: I850f0d7d14ae50fae67f8adab77971a10bd2fd37
ism/src/isf_query_utility.cpp
patch
|
blob
|
history
diff --git
a/ism/src/isf_query_utility.cpp
b/ism/src/isf_query_utility.cpp
index
7343511
..
9a04532
100644
(file)
--- a/
ism/src/isf_query_utility.cpp
+++ b/
ism/src/isf_query_utility.cpp
@@
-254,7
+254,8
@@
static inline int _db_init(void)
return -EINVAL;
}
- if (!_db_create_table()) {
+ /* The _db_create_table() returns 0 on success */
+ if (_db_create_table() != 0) {
LOGE ("CREATE TABLE IF NOT EXISTS ime_info ~ failed.");
if (databaseInfo.pHandle)
db_util_close(databaseInfo.pHandle);