summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/cubrid/cubrid_forge.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-02-12 22:37:58 +0100
committerAndrey Andreev <narf@bofh.bg>2012-02-12 22:37:58 +0100
commit2e430a3f3b160641c36037fbaf92457e0b3bb51e (patch)
treef8c6b4432bab9c950744082fbc3a65c7780547ce /system/database/drivers/cubrid/cubrid_forge.php
parent3ddcaad996619ead6ced4325d0b035b8a2496e3e (diff)
Added CUBRID DSN string & persistent connections support
Diffstat (limited to 'system/database/drivers/cubrid/cubrid_forge.php')
-rw-r--r--system/database/drivers/cubrid/cubrid_forge.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/cubrid/cubrid_forge.php b/system/database/drivers/cubrid/cubrid_forge.php
index 8423180e9..11143a05f 100644
--- a/system/database/drivers/cubrid/cubrid_forge.php
+++ b/system/database/drivers/cubrid/cubrid_forge.php
@@ -163,7 +163,7 @@ class CI_DB_cubrid_forge extends CI_DB_forge {
}
*/
- $sql .= $this->db->_escape_identifiers($table).' ('.$this->_process_fields($fields);
+ $sql .= $this->db->protect_identifiers($table).' ('.$this->_process_fields($fields);
// If there is a PK defined
if (count($primary_keys) > 0)
@@ -203,7 +203,7 @@ class CI_DB_cubrid_forge extends CI_DB_forge {
*/
public function _drop_table($table)
{
- return 'DROP TABLE IF EXISTS '.$this->db->_escape_identifiers($table);
+ return 'DROP TABLE IF EXISTS '.$this->db->protect_identifiers($table);
}
// --------------------------------------------------------------------