summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/odbc/odbc_utility.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/drivers/odbc/odbc_utility.php')
-rw-r--r--system/database/drivers/odbc/odbc_utility.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/system/database/drivers/odbc/odbc_utility.php b/system/database/drivers/odbc/odbc_utility.php
index 837c8c881..51fec8eed 100644
--- a/system/database/drivers/odbc/odbc_utility.php
+++ b/system/database/drivers/odbc/odbc_utility.php
@@ -24,6 +24,39 @@
*/
class CI_DB_odbc_utility extends CI_DB_utility {
+
+ /**
+ * Create database
+ *
+ * @access public
+ * @param string the database name
+ * @return bool
+ */
+ function create_database($name)
+ {
+ // ODBC has no "create database" command since it's
+ // designed to connect to an existing database
+ return FALSE;
+ }
+
+ // --------------------------------------------------------------------
+
+ /**
+ * Drop database
+ *
+ * @access public
+ * @param string the database name
+ * @return bool
+ */
+ function drop_database($name)
+ {
+ // ODBC has no "drop database" command since it's
+ // designed to connect to an existing database
+ return FALSE;
+ }
+
+ // --------------------------------------------------------------------
+
/**
* Version number query string
*