projects
/
platform
/
core
/
security
/
libprivilege-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c5c732
)
Delete of a possible unnecessary transaction rollback.
author
Jan Olszak
<j.olszak@samsung.com>
Mon, 2 Dec 2013 16:09:39 +0000
(17:09 +0100)
committer
Krzysztof Jackiewicz
<k.jackiewicz@samsung.com>
Mon, 9 Dec 2013 19:47:24 +0000
(20:47 +0100)
[Issue#] N/A
[Bug/Feature] Error before transaction open
was not PC_ERR_DB_CONNECTION
[Cause] N/A
[Solution] Changed error code.
[Verification] Build, install, run tests.
src/rules-db-internals.c
patch
|
blob
|
history
diff --git
a/src/rules-db-internals.c
b/src/rules-db-internals.c
index
a16c646
..
b04df44
100644
(file)
--- a/
src/rules-db-internals.c
+++ b/
src/rules-db-internals.c
@@
-266,7
+266,7
@@
int open_rdb_connection(sqlite3 **p_db)
ORDER BY subject, object ASC;",
0, 0, 0) != SQLITE_OK) {
C_LOGE("RDB: Error during preparing script: %s", sqlite3_errmsg(*p_db));
- return PC_ERR_DB_
OPERA
TION;
+ return PC_ERR_DB_
CONNEC
TION;
}
return PC_OPERATION_SUCCESS;