diff options
author | admin <devnull@localhost> | 2006-09-25 05:44:04 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-25 05:44:04 +0200 |
commit | 72496373008b263e098cf6082cdce1d47d01d3f1 (patch) | |
tree | 887849565e73eaef2ffa95b3c722ed15f3e508bc /system/database/drivers/odbc/odbc_utility.php | |
parent | 6ca6f9471ba31f7cba9054d075b4f90382b2d410 (diff) |
Diffstat (limited to 'system/database/drivers/odbc/odbc_utility.php')
-rw-r--r-- | system/database/drivers/odbc/odbc_utility.php | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/system/database/drivers/odbc/odbc_utility.php b/system/database/drivers/odbc/odbc_utility.php index 51fec8eed..42537de70 100644 --- a/system/database/drivers/odbc/odbc_utility.php +++ b/system/database/drivers/odbc/odbc_utility.php @@ -36,6 +36,10 @@ class CI_DB_odbc_utility extends CI_DB_utility { { // ODBC has no "create database" command since it's // designed to connect to an existing database + if ($this->db_debug) + { + return $this->display_error('db_unsuported_feature'); + } return FALSE; } @@ -51,7 +55,29 @@ class CI_DB_odbc_utility extends CI_DB_utility { function drop_database($name) { // ODBC has no "drop database" command since it's - // designed to connect to an existing database + // designed to connect to an existing database + if ($this->db_debug) + { + return $this->display_error('db_unsuported_feature'); + } + return FALSE; + } + + // -------------------------------------------------------------------- + + /** + * List databases + * + * @access public + * @return bool + */ + function list_databases() + { + // Not sure if ODBC lets you list all databases... + if ($this->db_debug) + { + return $this->display_error('db_unsuported_feature'); + } return FALSE; } |