Details
Description
Zend_Db_Adapter_Mysqli does not return consistent null for failed matches using fetch() from the statement class due to
// fetch the next result
$retval = $this->_stmt->fetch();
switch ($retval) {
case null: // end of data
case false: // error occurred
$this->_stmt->reset();
return $retval;
default:
// fallthrough
}
it should return false like every other class if it is going to work with zend_validate_db_*'s
if ($result !== false) {
After discussion with Ralph Schindler, the strict equality checking has been changed in commit 14028