summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
Diffstat (limited to 'system/database')
-rw-r--r--system/database/drivers/oci8/oci8_driver.php4
-rw-r--r--system/database/drivers/sqlite/sqlite_driver.php4
-rw-r--r--system/database/drivers/sqlite/sqlite_utility.php2
3 files changed, 5 insertions, 5 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
index cd0e09577..1ad05a793 100644
--- a/system/database/drivers/oci8/oci8_driver.php
+++ b/system/database/drivers/oci8/oci8_driver.php
@@ -244,7 +244,7 @@ class CI_DB_oci8_driver extends CI_DB {
if ($this->db_debug)
{
log_message('error', 'Invalid query: '.$package.'.'.$procedure);
- return $this->display_error('db_invalid_query');
+ return $this->db->display_error('db_invalid_query');
}
return FALSE;
}
@@ -443,7 +443,7 @@ class CI_DB_oci8_driver extends CI_DB {
function insert_id()
{
// not supported in oracle
- return $this->display_error('db_unsupported_function');
+ return $this->db->display_error('db_unsupported_function');
}
// --------------------------------------------------------------------
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php
index c08ed2a56..4309c1656 100644
--- a/system/database/drivers/sqlite/sqlite_driver.php
+++ b/system/database/drivers/sqlite/sqlite_driver.php
@@ -63,7 +63,7 @@ class CI_DB_sqlite_driver extends CI_DB {
if ($this->db_debug)
{
- $this->display_error($error, '', TRUE);
+ $this->db->display_error($error, '', TRUE);
}
return FALSE;
@@ -88,7 +88,7 @@ class CI_DB_sqlite_driver extends CI_DB {
if ($this->db_debug)
{
- $this->display_error($error, '', TRUE);
+ $this->db->display_error($error, '', TRUE);
}
return FALSE;
diff --git a/system/database/drivers/sqlite/sqlite_utility.php b/system/database/drivers/sqlite/sqlite_utility.php
index 5629dac99..fe63362ee 100644
--- a/system/database/drivers/sqlite/sqlite_utility.php
+++ b/system/database/drivers/sqlite/sqlite_utility.php
@@ -39,7 +39,7 @@ class CI_DB_sqlite_utility extends CI_DB_utility {
{
if ($this->db_debug)
{
- return $this->display_error('db_unsuported_feature');
+ return $this->db->display_error('db_unsuported_feature');
}
return array();
}