diff options
author | Andrey Andreev <narf@bofh.bg> | 2013-01-24 10:32:29 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2013-01-24 10:32:29 +0100 |
commit | 1a0014941dcf399e97d3586bd6d3382166b413dd (patch) | |
tree | 03d903de3f126bf68ecfbb3d031dafe42981cdb6 /user_guide_src | |
parent | de5744f78c44c417f41ae01eb59488a63adabd7f (diff) |
Move db_select() call from CI_DB_driver::initialize() to db_connect()
so that it's only called by drivers that need it ('mysql', 'mssql').
As proposed in issue #2187.
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/changelog.rst | 1 | ||||
-rw-r--r-- | user_guide_src/source/helpers/url_helper.rst | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst index f6dad07b3..8b9ec2539 100644 --- a/user_guide_src/source/changelog.rst +++ b/user_guide_src/source/changelog.rst @@ -112,6 +112,7 @@ Release Date: Not Released - Updated ``escape_identifiers()`` to accept an array of fields as well as strings. - MySQL and MySQLi drivers now require at least MySQL version 5.1. - ``db_set_charset()`` now only requires one parameter (collation was only needed due to legacy support for MySQL versions prior to 5.1). + - ``db_select()`` will now always (if required by the driver) be called by ``db_connect()`` / ``db_pconnect()`` instead of only when initializing. - Replaced the ``_error_message()`` and ``_error_number()`` methods with ``error()``, which returns an array containing the last database error code and message. - Improved ``version()`` implementation so that drivers that have a native function to get the version number don't have to be defined in the core ``DB_driver`` class. - Added capability for packages to hold *config/database.php* config files. diff --git a/user_guide_src/source/helpers/url_helper.rst b/user_guide_src/source/helpers/url_helper.rst index 0afa7efd8..8b5361f94 100644 --- a/user_guide_src/source/helpers/url_helper.rst +++ b/user_guide_src/source/helpers/url_helper.rst @@ -380,4 +380,4 @@ engine purposes. The default Response Code is 302. The third parameter is will *automatically* be selected when the page is currently accessed via POST and HTTP/1.1 is used. -.. important:: This function will terminate script execution. +.. important:: This function will terminate script execution.
\ No newline at end of file |