projects
/
platform
/
core
/
messaging
/
msg-service.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RSA sync with private
[platform/core/messaging/msg-service.git]
/
utils
/
MsgSqliteWrapper.cpp
diff --git
a/utils/MsgSqliteWrapper.cpp
b/utils/MsgSqliteWrapper.cpp
index
dc5461d
..
7b7d652
100755
(executable)
--- a/
utils/MsgSqliteWrapper.cpp
+++ b/
utils/MsgSqliteWrapper.cpp
@@
-50,8
+50,10
@@
MsgDbHandler::MsgDbHandler()
MsgDbHandler::~MsgDbHandler()
{
- if(handle != NULL)
- disconnect();
+ if(handle != NULL) {
+ if (disconnect() != MSG_SUCCESS)
+ MSG_DEBUG("disconnect is failed!!");
+ }
if(stmt != NULL)
finalizeQuery();