1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-14 01:54:08 +02:00

PcreException renamed to DibiPcreException

This commit is contained in:
David Grudl
2010-10-06 17:23:31 +02:00
parent 0c4f343238
commit 36fe9d42c1
4 changed files with 5 additions and 6 deletions

View File

@@ -175,7 +175,7 @@ class DibiMySqliDriver extends DibiObject implements IDibiDriver, IDibiResultDri
{
$res = array();
preg_match_all('#(.+?): +(\d+) *#', mysqli_info($this->connection), $matches, PREG_SET_ORDER);
if (preg_last_error()) throw new PcreException;
if (preg_last_error()) throw new DibiPcreException;
foreach ($matches as $m) {
$res[$m[1]] = (int) $m[2];