[svn:p5ee] r10583 - p5ee/trunk/App-WorkQueue/lib/App
[email protected] Thu, 17 Jan 2008 08:15:28 -0800 (PST)
| Newsgroups | perl.cvs.p5ee |
|---|---|
| Message-ID | <[email protected]> |
Author: spadkins
Date: Thu Jan 17 08:15:27 2008
New Revision: 10583
Modified:
p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm
Log:
maybe fixed bug in _release_in_mem where the variable was declared in two confusing contexts
Modified: p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm
==============================================================================
--- p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm (original)
+++ p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm Thu Jan 17 08:15:27 2008
@@ -649,8 +649,8 @@
#$self->_release_resources($ent);
$context->log("WQ: _release_in_mem: release with $ent->{$status_attrib} not equal $STATUS_ACQUIRED : actual/group data_source[$entry->{actual_data_source}/$entry->{group_data_source}]\n");
}
- my $released = $self->update($ent,\@columns,\@values);
- if (!$released) {
+ my $nrows = $self->update($ent,\@columns,\@values);
+ if (!$nrows) {
$context->log("WorkQueue: _release_in_mem: update of db failed : " . join("|", %$ent) . "\n");
}
splice(@$data, $e, 1);
@@ -1952,3 +1952,4 @@
+