From b3696f9beb895d56432f68ed75f689a9610b42ae Mon Sep 17 00:00:00 2001 From: David Grudl Date: Fri, 23 Oct 2015 17:24:01 +0200 Subject: [PATCH] FirebirdDriver: removed $sql from exception in fetch() --- src/Dibi/Drivers/FirebirdDriver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dibi/Drivers/FirebirdDriver.php b/src/Dibi/Drivers/FirebirdDriver.php index 273d1d40..56160277 100644 --- a/src/Dibi/Drivers/FirebirdDriver.php +++ b/src/Dibi/Drivers/FirebirdDriver.php @@ -374,10 +374,10 @@ class FirebirdDriver implements Dibi\Driver, Dibi\ResultDriver, Dibi\Reflector if (ibase_errcode()) { if (ibase_errcode() == self::ERROR_EXCEPTION_THROWN) { preg_match('/exception (\d+) (\w+) (.*)/is', ibase_errmsg(), $match); - throw new Dibi\ProcedureException($match[3], $match[1], $match[2], \dibi::$sql); + throw new Dibi\ProcedureException($match[3], $match[1], $match[2]); } else { - throw new Dibi\DriverException($msg, ibase_errcode(), \dibi::$sql); + throw new Dibi\DriverException($msg, ibase_errcode()); } }