Add support for shared transaction in libprivilege-control DB.
authorDamian Chromejko <d.chromejko@samsung.com>
Thu, 19 Dec 2013 09:31:30 +0000 (10:31 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 30 Jan 2014 11:47:56 +0000 (12:47 +0100)
commit7656fc68898364ad73a493d174f6d3b5c82e1098
tree28dc48b12880c1c2f07657c0654e9fa8508cdba1
parentd5c09d4b8539ff77e7f1f616183198d46defb10d
Add support for shared transaction in libprivilege-control DB.

[Issue#]       SSDWSSP-722
[Feature]      No redundant rules updating during shared read
               transactions.
[Cause]        Rules in the DB are unnecessarily updated during shared
               read transactions.
[Solution]     Rules in the DB are updated only if the current
               transaction is not a shared read transaction.
[Verification] Although no additional tests were created, all previous tests
               should pass.

Change-Id: I6738add767cf1b666680a956ad19572a99d693e5
include/rules-db-internals.h
src/rules-db-internals.c
src/rules-db.c