IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 24, 2009, 2:47:44 PM (17 years ago)
Author:
jhoblitt
Message:

enable autocommit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/bin/nebdiskd

    r24540 r24543  
    234234#        $dbh->do("call getmountedvol()");
    235235
    236         $dbh->commit;
    237         $log->debug("commited to database");
     236#        $dbh->commit;
     237#        $log->debug("commited to database");
    238238    };
    239239    if ($@) {
    240         $dbh->rollback;
    241         $log->debug("rolledback transaction");
     240#        $dbh->rollback;
     241#        $log->debug("rolledback transaction");
    242242        $log->logdie($@);
    243243    }
     
    281281            RaiseError => 1,
    282282            PrintError => 1,
    283             AutoCommit => 0,
     283            AutoCommit => 1, # don't want this to be trasnactional
    284284        },
    285285    );
     
    287287    eval {
    288288        $dbh->do( $sql->set_transaction_model );
    289         $dbh->commit;
     289#        $dbh->commit;
    290290    };
    291291    if ($@) {
    292         $dbh->rollback;
     292#        $dbh->rollback;
    293293        $log->logdie($@);
    294294    }
Note: See TracChangeset for help on using the changeset viewer.