summaryrefslogtreecommitdiff
path: root/docs/changelog.md
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2022-04-03 14:02:21 +0200
committerDamien Regad <dregad@mantisbt.org>2022-04-03 14:02:21 +0200
commit3db2fda0aece98011dcf411a747c372668fcd790 (patch)
treec387abbfad997db790bddb4a1316e5b82e6720f9 /docs/changelog.md
parent00b6976f7513cec7dd1e2f62a1584bed1873be70 (diff)
downloadadodb-3db2fda0aece98011dcf411a747c372668fcd790.tar.gz
adodb-3db2fda0aece98011dcf411a747c372668fcd790.tar.bz2
adodb-3db2fda0aece98011dcf411a747c372668fcd790.zip
Fix affected_rows() returning false
When an update or insert query is executed after a select query, ADODB_mysqli::$isSelectStatement is not reset causing subsequent calls to affected_rows() to return false instead of the expected number of rows. This was marked as fixed in 5.22.1 [1], but in fact it wasn't so the Changelog has been updated accordingly. Fixes #820 [1]: see commit aa88f92f95454fdfda3c4a916f7aac68c74c19a3
Diffstat (limited to 'docs/changelog.md')
-rw-r--r--docs/changelog.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/changelog.md b/docs/changelog.md
index dcfa81dc..88a0f4e4 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -16,6 +16,10 @@ Older changelogs:
## [5.22.2] - Unreleased
+### Fixed
+- mysqli: Affected_Rows() not returning correct value
+ [#820](https://github.com/ADOdb/ADOdb/issues/820)
+
## [5.22.1] - 2022-03-30
@@ -38,8 +42,6 @@ Older changelogs:
[#803](https://github.com/ADOdb/ADOdb/issues/803)
- mysqli: regression on bulk binding
[#806](https://github.com/ADOdb/ADOdb/issues/806)
-- mysqli: Affected_Rows() not returning correct value
- [#820](https://github.com/ADOdb/ADOdb/issues/820)
- oci8: fix PHP 8.1 array deprecation warning
[#817](https://github.com/ADOdb/ADOdb/issues/817)
- memcache: weighted servers not connecting