summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/postgre/postgre_result.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/postgre/postgre_result.php
parent81b6efa76b90e28c87d1efad50dc13c2ac462ca8 (diff)
Remove (most of) error suppression from database drivers (issue #3036)
Diffstat (limited to 'system/database/drivers/postgre/postgre_result.php')
-rw-r--r--system/database/drivers/postgre/postgre_result.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/postgre/postgre_result.php b/system/database/drivers/postgre/postgre_result.php
index ec484e940..ab04af12c 100644
--- a/system/database/drivers/postgre/postgre_result.php
+++ b/system/database/drivers/postgre/postgre_result.php
@@ -47,7 +47,7 @@ class CI_DB_postgre_result extends CI_DB_result {
{
return is_int($this->num_rows)
? $this->num_rows
- : $this->num_rows = @pg_num_rows($this->result_id);
+ : $this->num_rows = pg_num_rows($this->result_id);
}
// --------------------------------------------------------------------
@@ -59,7 +59,7 @@ class CI_DB_postgre_result extends CI_DB_result {
*/
public function num_fields()
{
- return @pg_num_fields($this->result_id);
+ return pg_num_fields($this->result_id);
}
// --------------------------------------------------------------------