mreynolds / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

231dbd3 Ticket #331 - transaction errors with db 4.3 and db 4.2

Authored and Committed by rmeggins 11 years ago
    Ticket #331 - transaction errors with db 4.3 and db 4.2
    
    https://fedorahosted.org/389/ticket/331
    Resolves: Ticket #331
    Bug Description: transaction errors with db 4.3 and db 4.2
    Reviewed by: nhosoi (Thanks!)
    Branch: 389-ds-base-1.2.10
    Fix Description:
    we are enabling transactions everywhere - since we are opening databases
    with DB_AUTO_COMMIT we must either open and pass a valid txn handle to
    all operations that modify the database (put, del) or we must pass the
    DB_AUTO_COMMIT flag to those operations.
    Platforms tested: RHEL6 x86_64, RHEL5 i386
    Flag Day: no
    Doc impact: no
    (cherry picked from commit 9c7e9d51309cb8daa900a3e37c56267477aa666d)