Changeset 1338

Show
Ignore:
Timestamp:
11/03/09 05:04:24 (4 weeks ago)
Author:
robbat2
Message:

Close inactive DB connections as we go out of scope.

This is needed on Solaris, as noted and submitted by
<victoriggy@…>. Seems to have no negative effects on Linux in
runs of the testsuite.

Location:
trunk/server
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/server/CHANGES

    r1336 r1338  
     1        * Close possibly invalid DB connections as we go out of scope 
     2          (victori). 
     3  
    142009-10-18: Release version 2.32 
    25 
  • trunk/server/lib/MogileFS/Store.pm

    r1329 r1338  
    261261        PrintError => 0, 
    262262        AutoCommit => 1, 
     263        InactiveDestroy => 1, 
    263264        # FUTURE: will default to on (have to validate all callers first): 
    264265        RaiseError => ($self->{raise_errors} || 0),