summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/postgre
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/drivers/postgre')
-rw-r--r--system/database/drivers/postgre/postgre_result.php2
-rw-r--r--system/database/drivers/postgre/postgre_utility.php2
2 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 76bd60187..f065e54fb 100644
--- a/system/database/drivers/postgre/postgre_result.php
+++ b/system/database/drivers/postgre/postgre_result.php
@@ -135,7 +135,7 @@ class CI_DB_postgre_result extends CI_DB_result {
*/
function _data_seek($n = 0)
{
- pg_result_seek($this->result_id, $n);
+ return pg_result_seek($this->result_id, $n);
}
// --------------------------------------------------------------------
diff --git a/system/database/drivers/postgre/postgre_utility.php b/system/database/drivers/postgre/postgre_utility.php
index 478e74276..bebe09415 100644
--- a/system/database/drivers/postgre/postgre_utility.php
+++ b/system/database/drivers/postgre/postgre_utility.php
@@ -74,7 +74,7 @@ class CI_DB_postgre_utility extends CI_DB_utility {
*/
function _drop_table($table)
{
- return "DROP TABLE ".$this->db->_escape_table($name)." CASCADE";
+ return "DROP TABLE ".$this->db->_escape_table($table)." CASCADE";
}
// --------------------------------------------------------------------