summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/odbc/odbc_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-05-09 09:24:14 +0200
committerAndrey Andreev <narf@devilix.net>2014-05-09 09:24:14 +0200
commit2bbbd1a13ead097fd3f4b00bfb275f0b0f836f93 (patch)
tree9a1615f486dac1502c024d8fcd57e066a875b4a2 /system/database/drivers/odbc/odbc_driver.php
parent81b6efa76b90e28c87d1efad50dc13c2ac462ca8 (diff)
Remove (most of) error suppression from database drivers (issue #3036)
Diffstat (limited to 'system/database/drivers/odbc/odbc_driver.php')
-rw-r--r--system/database/drivers/odbc/odbc_driver.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php
index 14c85c8e2..06c24d66f 100644
--- a/system/database/drivers/odbc/odbc_driver.php
+++ b/system/database/drivers/odbc/odbc_driver.php
@@ -124,7 +124,7 @@ class CI_DB_odbc_driver extends CI_DB {
*/
protected function _execute($sql)
{
- return @odbc_exec($this->conn_id, $sql);
+ return odbc_exec($this->conn_id, $sql);
}
// --------------------------------------------------------------------
@@ -213,7 +213,7 @@ class CI_DB_odbc_driver extends CI_DB {
*/
public function affected_rows()
{
- return @odbc_num_rows($this->result_id);
+ return odbc_num_rows($this->result_id);
}
// --------------------------------------------------------------------
@@ -357,7 +357,7 @@ class CI_DB_odbc_driver extends CI_DB {
*/
protected function _close()
{
- @odbc_close($this->conn_id);
+ odbc_close($this->conn_id);
}
}