Ignore:
Timestamp:
Apr 9, 2010, 3:20:58 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5.x: update to 3.5.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/registry/reg_backend_db.c

    r414 r427  
    13691369                result = state.found;
    13701370        } else {
     1371                res = db->transaction_start(db);
     1372                if (res != 0) {
     1373                        DEBUG(0, ("error starting transacion\n"));
     1374                        goto fail;
     1375                }
     1376
    13711377                if (!create_sorted_subkeys(path, key)) {
     1378                        res = db->transaction_cancel(db);
     1379                        if (res != 0) {
     1380                                smb_panic("Failed to cancel transaction.");
     1381                        }
    13721382                        goto fail;
    13731383                }
     1384
    13741385                res = db->parse_record(db, string_term_tdb_data(key),
    13751386                                       parent_subkey_scanner, &state);
    13761387                if ((res == 0) && (state.scanned)) {
    13771388                        result = state.found;
     1389                }
     1390
     1391                res = db->transaction_commit(db);
     1392                if (res != 0) {
     1393                        DEBUG(0, ("error committing transaction\n"));
     1394                        result = false;
    13781395                }
    13791396        }
Note: See TracChangeset for help on using the changeset viewer.