From: Sangyoon Jang Date: Fri, 12 Oct 2018 10:29:19 +0000 (+0900) Subject: Reset error code after rollback transaction X-Git-Tag: submit/tizen/20190208.015210~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac2537c00e40a042a104ad53d613a3b6813d41aa;p=platform%2Fcore%2Fappfw%2Fcapmgr.git Reset error code after rollback transaction Change-Id: I67596c1c46528649abeb3694238b90fdc15f0ec8 Signed-off-by: Sangyoon Jang --- diff --git a/src/common/sqlite_connection.cc b/src/common/sqlite_connection.cc index 44dbde9..39817b4 100644 --- a/src/common/sqlite_connection.cc +++ b/src/common/sqlite_connection.cc @@ -84,6 +84,7 @@ bool SQLiteConnection::CommitTransaction() { } bool SQLiteConnection::RollbackTransaction() { + SetErrorCode(0); return Execute("ROLLBACK"); }