summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-28 14:29:07 +0200
committerAndrey Andreev <narf@bofh.bg>2012-03-28 14:29:07 +0200
commit2efd029d012fedd421540d14b8a5759032c0b5c6 (patch)
tree4c8f91429a88b362f485fa0eaee7bba7f7683ca1 /system/database/DB_driver.php
parent9602651a0d435b8ccef1965a154e8a33594de6f3 (diff)
parentbee6644ce280d8e72cc2db23c86d5f5f6973acf3 (diff)
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-oci8
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php16
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)