setLimit and _modifyQuery broken on MDB2
| From: | Dan Rossi | Date: | Wed, 06 Apr 2005 02:06:30 +0000 |
| Subject: | setLimit and _modifyQuery broken on MDB2 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-18530@lists.php.net to get a copy of this message | ||
Ok somehow it worked but now it doesnt :| took me 2 hours to debug this
$offset = $this->row_offset;
$limit = $this->row_limit;
$this->row_offset = $this->row_limit = 0;
$query = $this->_modifyQuery($query, $isManip, $limit, $offset);
this is how its setup in the query method
function _modifyQuery($query)
{
return $query;
}
just returns the query therefore is not setting limit information from set limit !