From 849b9b66fa1e6512219acf22aa52d06db5482590 Mon Sep 17 00:00:00 2001 From: jasir Date: Tue, 11 Jun 2013 17:56:52 +0200 Subject: [PATCH] Firebird driver: getRowCount throws NotSupportedException --- dibi/drivers/firebird.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dibi/drivers/firebird.php b/dibi/drivers/firebird.php index 8a0bd214..69a18dae 100644 --- a/dibi/drivers/firebird.php +++ b/dibi/drivers/firebird.php @@ -373,7 +373,7 @@ class DibiFirebirdDriver extends DibiObject implements IDibiDriver, IDibiResultD */ public function getRowCount() { - return ibase_num_fields($this->resultSet); + throw new DibiNotSupportedException("Firebird/Interbase do not support returning number of rows in result set."); }