summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2015-04-21 01:24:00 +0200
committerDamien Regad <dregad@mantisbt.org>2015-05-04 01:07:36 +0200
commit446b8bc5895db066407ab081791231e5a9ea2a1a (patch)
tree50891bbe26980dd2e65af8b429934dc7b8db8ffe
parentdd5ff459bb3a90feae37e2e22f73554563c50b1b (diff)
downloadadodb-446b8bc5895db066407ab081791231e5a9ea2a1a.tar.gz
adodb-446b8bc5895db066407ab081791231e5a9ea2a1a.tar.bz2
adodb-446b8bc5895db066407ab081791231e5a9ea2a1a.zip
Warning about Associative fetch mode issue in v5.19
Add a warning message in the Readme file as well as the 5.19 changelog, briefly describing the issue with fetching data in associative mode from interbase, mssql, foxpro and possibly other DB engines, as well as those derived from them. Issue #20
-rw-r--r--README.md8
-rw-r--r--docs/docs-adodb.htm10
2 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index cc6e640a..8e7cf0b8 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,14 @@ This means you can use it in proprietary products.
Home page: http://adodb.sourceforge.net/
+> **WARNING: known issue with Associative Fetch Mode in ADOdb v5.19**
+> When fetching data in Associative mode (i.e. when `$ADODB_FETCH_MODE` is
+> set to *ADODB_FETCH_ASSOC*), recordsets do not return any data (empty strings)
+> when using some database drivers. The problem has been reported on MSSQL,
+> Interbase and Foxpro, but possibly affects other drivers as well; all drivers
+> derived from the above are also impacted.
+> For further details, please refer to [Issue #20](https://github.com/ADOdb/ADOdb/issues/20).
+
Introduction
============
diff --git a/docs/docs-adodb.htm b/docs/docs-adodb.htm
index 5480ae45..690e12c3 100644
--- a/docs/docs-adodb.htm
+++ b/docs/docs-adodb.htm
@@ -6207,6 +6207,16 @@ PHP</a>. </p>
<p>Convert languages files to UTF-8, thanks to Marc-Etienne Vargenau. See Github #32.
<p><a name=5.19><b>5.19 - 23-Apr-2014</b>
+
+<p><strong>NOTE:</strong>
+ This release suffers from a
+ <a href="https://github.com/ADOdb/ADOdb/issues/20">known issue with Associative Fetch Mode</a>
+ (i.e. when $ADODB_FETCH_MODE is set to ADODB_FETCH_ASSOC).
+ It causes recordsets to return empty strings (no data) when using some database drivers.
+ The problem has been reported on MSSQL, Interbase and Foxpro, but possibly
+ affects other database types as well; all drivers derived from the above are also impacted.
+</p>
+
<p>adodb: GetRowAssoc will return null as required. See http://phplens.com/lens/lensforum/msgs.php?id=19289
<p>adodb: Fix GetRowAssoc bug introduced in 5.17, causing function to return data from previous fetch for NULL fields. See http://phplens.com/lens/lensforum/msgs.php?id=17539
<p>adodb: GetAssoc will return a zero-based array when 2nd column is null. See https://sourceforge.net/p/adodb/bugs/130/