diff options
author | admin <devnull@localhost> | 2006-10-01 05:38:04 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-01 05:38:04 +0200 |
commit | b2a9ceccdb85050cb494e6d0a98b0a49495d29bb (patch) | |
tree | 16307166046e516304e5d38a072b6e8534657927 /system/database/drivers/mysql/mysql_utility.php | |
parent | 0e42554740e2256eb9bf33bfb2f91788a99a1348 (diff) |
Diffstat (limited to 'system/database/drivers/mysql/mysql_utility.php')
-rw-r--r-- | system/database/drivers/mysql/mysql_utility.php | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/system/database/drivers/mysql/mysql_utility.php b/system/database/drivers/mysql/mysql_utility.php index a81c915f6..b387ace9e 100644 --- a/system/database/drivers/mysql/mysql_utility.php +++ b/system/database/drivers/mysql/mysql_utility.php @@ -53,6 +53,19 @@ class CI_DB_mysql_utility extends CI_DB_utility { // -------------------------------------------------------------------- /** + * List databases + * + * @access private + * @return bool + */ + function _list_databases() + { + return "SHOW DATABASES"; + } + + // -------------------------------------------------------------------- + + /** * Drop Table * * @access private @@ -101,7 +114,7 @@ class CI_DB_mysql_utility extends CI_DB_utility { * MySQL Export * * @access private - * @param array Any preferences + * @param array Preferences * @return mixed */ function _backup($params = array()) @@ -217,7 +230,6 @@ class CI_DB_mysql_utility extends CI_DB_utility { // Build the INSERT string $output .= 'INSERT INTO '.$table.' ('.$field_str.') VALUES ('.$val_str.');'.$newline; - } $output .= $newline.$newline; |