Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.0
-
Fix Version/s: 1.9.4
-
Component/s: Zend_Queue
-
Labels:None
Description
In the receive function of the Db adapter, a call to $this->_config is done in the receive method whereas it should be $this->_options
Patch:
Index: library/Zend/Queue/Adapter/Db.php
===================================================================
--- library/Zend/Queue/Adapter/Db.php (revision 17310)
+++ library/Zend/Queue/Adapter/Db.php (working copy)
@@ -349,7 +349,7 @@
$db->beginTransaction();
$query = $db->select();
- if ($this->_config['options'][Zend_Db_Select::FOR_UPDATE]) {
+ if ($this->_options['options'][Zend_Db_Select::FOR_UPDATE]) {
// turn on forUpdate
$query->forUpdate();
}
Patch file added