diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-04-03 09:56:12 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-04-03 09:56:12 +0200 |
commit | 5589fe1c84375534ad4ee1e7adfbb52e4953a5b9 (patch) | |
tree | 48a7785021377dd3e7f8fcd3ff41f3cf650c327b /system/database/drivers/oci8/oci8_utility.php | |
parent | d3891f4f50e3cb3cfd1b6491088d759d586e2302 (diff) | |
parent | a9572fa67e4778f7d0a42898c603fddcb64660f8 (diff) |
Merge pull request #868 from narfbg/develop-db-oci8
Improve the Oracle (oci8) database driver
Diffstat (limited to 'system/database/drivers/oci8/oci8_utility.php')
-rw-r--r-- | system/database/drivers/oci8/oci8_utility.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/system/database/drivers/oci8/oci8_utility.php b/system/database/drivers/oci8/oci8_utility.php index e303fb6cb..efb4bca02 100644 --- a/system/database/drivers/oci8/oci8_utility.php +++ b/system/database/drivers/oci8/oci8_utility.php @@ -37,11 +37,14 @@ class CI_DB_oci8_utility extends CI_DB_utility { /** * List databases * - * @return bool + * Generates a platform-specific query so that we get a list of schemas + * Those are actually usernames in Oracle. + * + * @return string */ public function _list_databases() { - return FALSE; + return 'SELECT username FROM dba_users'; } // -------------------------------------------------------------------- @@ -56,7 +59,7 @@ class CI_DB_oci8_utility extends CI_DB_utility { */ public function _optimize_table($table) { - return FALSE; // Is this supported in Oracle? + return FALSE; // Not supported in Oracle } // -------------------------------------------------------------------- @@ -71,7 +74,7 @@ class CI_DB_oci8_utility extends CI_DB_utility { */ public function _repair_table($table) { - return FALSE; // Is this supported in Oracle? + return FALSE; // Not supported in Oracle } // -------------------------------------------------------------------- |