Changeset 427 for vendor/current/source3/registry
- Timestamp:
- Apr 9, 2010, 3:20:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/registry/reg_backend_db.c
r414 r427 1369 1369 result = state.found; 1370 1370 } else { 1371 res = db->transaction_start(db); 1372 if (res != 0) { 1373 DEBUG(0, ("error starting transacion\n")); 1374 goto fail; 1375 } 1376 1371 1377 if (!create_sorted_subkeys(path, key)) { 1378 res = db->transaction_cancel(db); 1379 if (res != 0) { 1380 smb_panic("Failed to cancel transaction."); 1381 } 1372 1382 goto fail; 1373 1383 } 1384 1374 1385 res = db->parse_record(db, string_term_tdb_data(key), 1375 1386 parent_subkey_scanner, &state); 1376 1387 if ((res == 0) && (state.scanned)) { 1377 1388 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; 1378 1395 } 1379 1396 }
Note:
See TracChangeset
for help on using the changeset viewer.