Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Cvs P5ee > [svn:p5ee] r105...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 651 of 694
Post > Topic >>

[svn:p5ee] r10583 - p5ee/trunk/App-WorkQueue/lib/App

by spadkins@[EMAIL PROTECTED] Jan 17, 2008 at 08:15 AM

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
@[EMAIL PROTECTED]
 -649,8 +649,8 @[EMAIL PROTECTED]
                     #$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,\@[EMAIL PROTECTED]
);
-                if (!$released) {
+                my $nrows = $self->update($ent,\@[EMAIL PROTECTED]
);
+                if (!$nrows) {
                     $context->log("WorkQueue: _release_in_mem: update of
db failed : " . join("|", %$ent) . "\n");
                 }
                 splice(@[EMAIL PROTECTED]
 $e, 1);
@[EMAIL PROTECTED]
 -1952,3 +1952,4 @[EMAIL PROTECTED]
 
 
 
+




 1 Posts in Topic:
[svn:p5ee] r10583 - p5ee/trunk/App-WorkQueue/lib/App
spadkins@[EMAIL PROTECTED  2008-01-17 08:15:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 23:32:41 CDT 2008.