diff options
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r-- | system/database/DB_driver.php | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 9347ce3e1..352e3e8a9 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -192,10 +192,24 @@ abstract class CI_DB_driver { // -------------------------------------------------------------------- /** + * Select database + * + * This is just a dummy method to allow drivers without such + * functionality to not declare it, while others will override it. + * + * @return bool + */ + public function db_select() + { + return TRUE; + } + + // -------------------------------------------------------------------- + + /** * Set client character set * * @param string - * @param string * @return bool */ public function db_set_charset($charset) |