diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-28 14:28:19 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-28 14:28:19 +0200 |
commit | bee6644ce280d8e72cc2db23c86d5f5f6973acf3 (patch) | |
tree | bdc8822b4ca7ae385a488789f0dfe8c79769435e /system/database/drivers/cubrid | |
parent | 8e2478e7310b5cfff88b64ff5d84b71f1c124b58 (diff) |
Add a dummy db_select() method to CI_DB_driver and remove it from drivers that don't have such functionality
Diffstat (limited to 'system/database/drivers/cubrid')
-rw-r--r-- | system/database/drivers/cubrid/cubrid_driver.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/system/database/drivers/cubrid/cubrid_driver.php b/system/database/drivers/cubrid/cubrid_driver.php index bed3d8685..0f9c427e6 100644 --- a/system/database/drivers/cubrid/cubrid_driver.php +++ b/system/database/drivers/cubrid/cubrid_driver.php @@ -159,22 +159,6 @@ class CI_DB_cubrid_driver extends CI_DB { // -------------------------------------------------------------------- /** - * Select the database - * - * @return resource - */ - public function db_select() - { - // In CUBRID there is no need to select a database as the database - // is chosen at the connection time. - // So, to determine if the database is "selected", all we have to - // do is ping the server and return that value. - return cubrid_ping($this->conn_id); - } - - // -------------------------------------------------------------------- - - /** * Database version number * * @return string |