Remove (most of) error suppression from database drivers (issue #3036)
diff --git a/system/database/drivers/ibase/ibase_driver.php b/system/database/drivers/ibase/ibase_driver.php
index b9eabd0..b19985c 100644
--- a/system/database/drivers/ibase/ibase_driver.php
+++ b/system/database/drivers/ibase/ibase_driver.php
@@ -115,7 +115,7 @@
*/
protected function _execute($sql)
{
- return @ibase_query($this->conn_id, $sql);
+ return ibase_query($this->conn_id, $sql);
}
// --------------------------------------------------------------------
@@ -139,7 +139,7 @@
// even if the queries produce a successful result.
$this->_trans_failure = ($test_mode === TRUE);
- $this->_ibase_trans = @ibase_trans($this->conn_id);
+ $this->_ibase_trans = ibase_trans($this->conn_id);
return TRUE;
}
@@ -159,7 +159,7 @@
return TRUE;
}
- return @ibase_commit($this->_ibase_trans);
+ return ibase_commit($this->_ibase_trans);
}
// --------------------------------------------------------------------
@@ -177,7 +177,7 @@
return TRUE;
}
- return @ibase_rollback($this->_ibase_trans);
+ return ibase_rollback($this->_ibase_trans);
}
// --------------------------------------------------------------------
@@ -189,7 +189,7 @@
*/
public function affected_rows()
{
- return @ibase_affected_rows($this->conn_id);
+ return ibase_affected_rows($this->conn_id);
}
// --------------------------------------------------------------------
@@ -392,7 +392,7 @@
*/
protected function _close()
{
- @ibase_close($this->conn_id);
+ ibase_close($this->conn_id);
}
}