1
0
mirror of https://github.com/dg/dibi.git synced 2025-10-19 16:57:11 +02:00

* added support for affectedRows in DibiPdoDriver

This commit is contained in:
David Grudl
2007-11-24 08:23:26 +00:00
parent c8fedf7692
commit a0febd3d50
7 changed files with 36 additions and 58 deletions

View File

@@ -387,7 +387,7 @@ class DibiMySqlDriver extends NObject implements DibiDriverInterface
*
* @throws DibiDriverException
*/
protected function throwException($sql=NULL)
protected function throwException($sql = NULL)
{
throw new DibiDriverException(mysql_error($this->connection), mysql_errno($this->connection), $sql);
}