Remove (most of) error suppression from database drivers (issue #3036)
diff --git a/system/database/drivers/cubrid/cubrid_driver.php b/system/database/drivers/cubrid/cubrid_driver.php
index 2e79faa..138b0ed 100644
--- a/system/database/drivers/cubrid/cubrid_driver.php
+++ b/system/database/drivers/cubrid/cubrid_driver.php
@@ -172,7 +172,7 @@
*/
protected function _execute($sql)
{
- return @cubrid_query($sql, $this->conn_id);
+ return cubrid_query($sql, $this->conn_id);
}
// --------------------------------------------------------------------
@@ -283,7 +283,7 @@
*/
public function affected_rows()
{
- return @cubrid_affected_rows();
+ return cubrid_affected_rows();
}
// --------------------------------------------------------------------
@@ -295,7 +295,7 @@
*/
public function insert_id()
{
- return @cubrid_insert_id($this->conn_id);
+ return cubrid_insert_id($this->conn_id);
}
// --------------------------------------------------------------------
@@ -418,7 +418,7 @@
*/
protected function _close()
{
- @cubrid_close($this->conn_id);
+ cubrid_close($this->conn_id);
}
}