f9dfeea Trac Ticket #359 - Database RUV could mismatch the one

Authored and Committed by Noriko Hosoi 11 years ago
    Trac Ticket #359 - Database RUV could mismatch the one
         in changelog under the stress
    
    https://fedorahosted.org/389/ticket/359
    
    Fix Description:
    . Fix for llistRemoveCurrentAndGetNext (llist.c) in commit
      f0f74b57f81998a325dc7472b9ea9b44c5ff6439 was not correct.
    . Undo the changes made in ldbm_back_add, ldbm_back_modrdn
      (ldbm_add.c, ldbm_modrdn.c) in commit
      f0f74b57f81998a325dc7472b9ea9b44c5ff6439.
    . urp.c: In the original design, if op_result is LDA_SUCCESS and
      the return code is -1, the operation is skipped, but the max
      csn is updated in RUV.  Currently, we have no way to do so.
      This patch eliminates the cases: 2 in urp_add_operation and 1
      in urp_modrdn_operation are now LDAP_UNWILLING_TO_PERFORM; 1 in
      urp_modrdn_operation (the existing entry is the same as the
      target one) returns 0.
    (cherry picked from commit ff601de4c21224f6fa5b995fd877907671f75575)