mirror of
https://github.com/dg/dibi.git
synced 2025-10-22 18:26:13 +02:00
PcreException renamed to DibiPcreException
This commit is contained in:
@@ -178,7 +178,7 @@ class DibiMySqlDriver extends DibiObject implements IDibiDriver, IDibiResultDriv
|
||||
{
|
||||
$res = array();
|
||||
preg_match_all('#(.+?): +(\d+) *#', mysql_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];
|
||||
|
Reference in New Issue
Block a user