Return if there are no rows to save 08/238508/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 14 Jul 2020 14:35:48 +0000 (16:35 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 14 Jul 2020 14:39:00 +0000 (16:39 +0200)
commit24100cd7d0f450f4e6f9ed9524ed60dbf1f2f448
tree35cd9962da698633df8e525f025607f6afc52088
parent1a1ff5d523b7386f02e78b392a6d0410c832c2fb
Return if there are no rows to save

Before this change, an attempt to save an empty list of objects would populate
the NAME and PERMISSIONS table but insert no objects into the OBJECTS table.

Change-Id: I08a2b68831ed51564e43ef4a01fca28d2c789641
src/manager/service/db-crypto.cpp