Ignore:
Timestamp:
Nov 8, 2011, 6:50:31 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba Server 3.5: Some more work to get high-mem working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/passdb/pdb_tdb.c

    r414 r656  
    339339        int ret;
    340340
     341    DEBUG(0,("@todo: tdbsam_convert: tdbsam_convert_backup\n"));
    341342        /* We only need the update backup for local db's. */
    342343        if (db_is_local(name) && !tdbsam_convert_backup(name, pp_db)) {
     
    349350        state.success = true;
    350351
     352    DEBUG(0,("@todo: tdbsam_convert: transaction_start\n"));
    351353        if (db->transaction_start(db) != 0) {
    352354                DEBUG(0, ("tdbsam_convert: Could not start transaction\n"));
     
    354356        }
    355357
     358    DEBUG(0,("@todo: tdbsam_convert: tdbsam_upgrade_next_rid\n"));
    356359        if (!tdbsam_upgrade_next_rid(db)) {
    357360                DEBUG(0, ("tdbsam_convert: tdbsam_upgrade_next_rid failed\n"));
     
    359362        }
    360363
     364    DEBUG(0,("@todo: tdbsam_convert: traverse\n"));
    361365        ret = db->traverse(db, tdbsam_convert_one, &state);
    362366        if (ret < 0) {
     
    370374        }
    371375
     376    DEBUG(0,("@todo: tdbsam_convert: dbwrap_store_int32 major\n"));
    372377        if (dbwrap_store_int32(db, TDBSAM_VERSION_STRING,
    373378                               TDBSAM_VERSION) != 0) {
     
    375380                goto cancel;
    376381        }
    377 
     382    DEBUG(0,("@todo: tdbsam_convert: dbwrap_store_int32 minor\n"));
    378383        if (dbwrap_store_int32(db, TDBSAM_MINOR_VERSION_STRING,
    379384                               TDBSAM_MINOR_VERSION) != 0) {
     
    382387        }
    383388
     389    DEBUG(0,("@todo: tdbsam_convert: transaction_commit\n"));
    384390        if (db->transaction_commit(db) != 0) {
    385391                DEBUG(0, ("tdbsam_convert: Could not commit transaction\n"));
     
    390396
    391397 cancel:
     398    DEBUG(0,("@todo: tdbsam_convert: transaction_cancel\n"));
    392399        if (db->transaction_cancel(db) != 0) {
    393400                smb_panic("tdbsam_convert: transaction_cancel failed");
Note: See TracChangeset for help on using the changeset viewer.