diff --git a/system/database/drivers/mysql/mysql_utility.php b/system/database/drivers/mysql/mysql_utility.php
index 5bbf468..23c4e09 100644
--- a/system/database/drivers/mysql/mysql_utility.php
+++ b/system/database/drivers/mysql/mysql_utility.php
@@ -33,7 +33,7 @@
*/
function create_database($name)
{
- return $this->db->query("CREATE DATABASE ".$this->db->_escape_table($name));
+ return $this->db->query("CREATE DATABASE ".$name);
}
// --------------------------------------------------------------------
@@ -47,7 +47,7 @@
*/
function drop_database($name)
{
- return $this->db->query("DROP DATABASE ".$this->db->_escape_table($name));
+ return $this->db->query("DROP DATABASE ".$name);
}
// --------------------------------------------------------------------
@@ -76,6 +76,19 @@
// --------------------------------------------------------------------
/**
+ * Drop Table
+ *
+ * @access public
+ * @return bool
+ */
+ function drop_table($table)
+ {
+ "DROP TABLE IF EXISTS ".$this->db->_escape_table($name);
+ }
+
+ // --------------------------------------------------------------------
+
+ /**
* Version number query string
*
* @access public