]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/passwd.c
Switch to openldap-data directory
[openldap] / servers / slapd / back-bdb / passwd.c
index 38cee4b7c6153126c4c30234c0671befd1b11aa2..bec86197894430933f815cbd5ff677c2b8bbcab5 100644 (file)
@@ -91,7 +91,7 @@ retry:        /* transaction retry */
                        bdb_cache_return_entry_w(&bdb->bi_cache, e);
                }
                Debug( LDAP_DEBUG_TRACE, "bdb_exop_passwd: retrying...\n", 0, 0, 0 );
-               rc = txn_abort( ltid );
+               rc = TXN_ABORT( ltid );
                ltid = NULL;
                op->o_private = NULL;
                if( rc != 0 ) {
@@ -103,7 +103,7 @@ retry:      /* transaction retry */
        }
 
        /* begin transaction */
-       rc = txn_begin( bdb->bi_dbenv, NULL, &ltid, 
+       rc = TXN_BEGIN( bdb->bi_dbenv, NULL, &ltid, 
                bdb->bi_db_opflags );
        *text = NULL;
        if( rc != 0 ) {
@@ -208,9 +208,9 @@ retry:      /* transaction retry */
 
                if( rc == 0 ) {
                        if( op->o_noop ) {
-                               rc = txn_abort( ltid );
+                               rc = TXN_ABORT( ltid );
                        } else {
-                               rc = txn_commit( ltid, 0 );
+                               rc = TXN_COMMIT( ltid, 0 );
                        }
                        ltid = NULL;
                }
@@ -231,7 +231,7 @@ done:
        }
 
        if( ltid != NULL ) {
-               txn_abort( ltid );
+               TXN_ABORT( ltid );
                op->o_private = NULL;
        }