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:
@@ -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];
|
||||
|
Reference in New Issue
Block a user