summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlite
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2010-02-04 22:29:03 +0100
committerDerek Allard <derek.allard@ellislab.com>2010-02-04 22:29:03 +0100
commit4860ec52f5bdf917d12f511ecd07b7d4797f0d91 (patch)
treeb41d18404cd886a3e927bf3cf82b5914b5d3d70f /system/database/drivers/sqlite
parent62396232658467b463f37e55bec159aadc188edd (diff)
fixing a series of errors in (ironically) error display in some database drivers
Diffstat (limited to 'system/database/drivers/sqlite')
-rw-r--r--system/database/drivers/sqlite/sqlite_driver.php4
-rw-r--r--system/database/drivers/sqlite/sqlite_utility.php2
2 files changed, 3 insertions, 3 deletions
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();
}