]> the.earth.li Git - onak.git/commit
Don't end an existing transaction if trying to delete a non-existent key
authorJonathan McDowell <noodles@earth.li>
Wed, 20 Nov 2013 02:44:39 +0000 (18:44 -0800)
committerJonathan McDowell <noodles@earth.li>
Wed, 20 Nov 2013 02:44:39 +0000 (18:44 -0800)
commit8aefbded3634aff93af5aa094094ca87c0e64239
treec527045d1ac0641e365b60c61c5ce22f3885342d
parent1a5992e47f6e1bfc4bd2faee14947b3f218a3e46
Don't end an existing transaction if trying to delete a non-existent key

The DB4 key deletion routine would always exit the current transaction
if the key wasn't found, even if it had been called by another function
which had entered the transaction. Only do so if the deletion routine
itself is what caused the transaction to be started.
keydb_db4.c