Changeset 1340
- Timestamp:
- 11/05/09 06:41:46 (3 weeks ago)
- Files:
-
- 1 modified
-
trunk/server/lib/MogileFS/Store.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/lib/MogileFS/Store.pm
r1339 r1340 266 266 $self->{max_handles} > 0 && 267 267 $self->{handles_given} > $self->{max_handles}) { 268 # TODO: Not sure about this disconnect. We probably want existing 269 # users of the connection to continue to do so. 270 $self->{dbh}->disconnect();268 # Do not destory existing copies of this handle. 269 $self->{dbh}{InactiveDestroy} = 0; 270 $self->{dbh}->disconnect(); 271 271 $self->{dbh} = undef; 272 272 $self->{handles_given} = 0; … … 278 278 PrintError => 0, 279 279 AutoCommit => 1, 280 InactiveDestroy => 1,281 280 # FUTURE: will default to on (have to validate all callers first): 282 281 RaiseError => ($self->{raise_errors} || 0),
