summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2016-04-26 12:44:13 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-06-23 13:40:11 +0200
commit13d7df10bf4d76c333a9169f9fcbeb891d870351 (patch)
tree342fde0a83a7ea61c375681039f7043896e61fc1 /src/util
parentf983b400bf4f6fb14a2174d6f58071e06e9ec832 (diff)
downloadsssd-13d7df10bf4d76c333a9169f9fcbeb891d870351.tar.gz
sssd-13d7df10bf4d76c333a9169f9fcbeb891d870351.tar.xz
sssd-13d7df10bf4d76c333a9169f9fcbeb891d870351.zip
SYSDB: Wrap sysdb_store_group in a transaction and split it into smaller functions
sysdb_store_group can do several things -- add, rename or update a group. It's important they are all done in a single transaction (even though the caller should typically start a transaction of his own). Also split the sysdb_store_group function into two, one that only stores a new group and one that changes attributes of an existing group to keep the flow easy and avoid two labels in a single function. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions