diff options
author | Rogerio Prado de Jesus <rogeriopradoj@gmail.com> | 2012-05-19 18:38:26 +0200 |
---|---|---|
committer | Rogerio Prado de Jesus <rogeriopradoj@gmail.com> | 2012-05-19 18:38:26 +0200 |
commit | 9fa8d404790833a098a8bbd855f1452897d6ff88 (patch) | |
tree | 3cecc7877bf63e781e143490e1676d4921c7abbf /user_guide/changelog.html | |
parent | fbd31c8d98bd7e5eac5c8e8c2f102b05350db93e (diff) |
Fix a issue with affect_rows in CI_DB_pdo_driver::_execute()
In case of SELECT queries PDOStatement::rowCount doesn't work as expected. This commit
makes affect_rows be initialized properly.
Signed-off-by: Rogerio Prado de Jesus <rogeriopradoj@gmail.com>
Diffstat (limited to 'user_guide/changelog.html')
-rw-r--r-- | user_guide/changelog.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 4e332a013..e1a87d963 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -87,6 +87,7 @@ Change Log <li>Fixed a bug - When database caching was enabled, $this->db->query() checked the cache before binding variables which resulted in cached queries never being found.</li> <li>Fixed a bug - CSRF cookie value was allowed to be any (non-empty) string before being written to the output, making code injection a risk.</li> <li>Fixed a bug (#726) - PDO put a 'dbname' argument in it's connection string regardless of the database platform in use, which made it impossible to use SQLite.</li> + <li>Fixed a bug - CI_DB_pdo_driver::affect_row was not being initialized properly with SELECT queries, cause it was relying on PDOStatement::rowCount().</li> </ul> |