Skip to content

Commit

Permalink
DibiPdoDriver: added rowCount()
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 23, 2010
1 parent fa0b146 commit cb1ed71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dibi/drivers/pdo.php
Expand Up @@ -359,7 +359,7 @@ public function applyLimit(&$sql, $limit, $offset)
*/
public function getRowCount()
{
throw new NotSupportedException('Row count is not available for unbuffered queries.');
return $this->resultSet->rowCount();
}


Expand Down

0 comments on commit cb1ed71

Please sign in to comment.