| Bug #27309 | MyODBC 3/ ADO conformance test rsmovefirst failing when same col is read twice | ||
|---|---|---|---|
| Submitted: | 20 Mar 2007 21:48 | Modified: | 21 Mar 2008 17:29 |
| Reporter: | Erica Moss | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
| Version: | 3.51.14 | OS: | Windows (XP sp2) |
| Assigned to: | Jess Balint | CPU Architecture: | Any |
[20 Mar 2007 21:48]
Erica Moss
[2 Feb 2008 2:25]
Jess Balint
Works fine in both 3.51 and 5.1. EricM, please re-enable this test.
[25 Feb 2008 23:12]
Erica Moss
I just commented out the statement that was allowing it to pass, and get the same problem, however I'm now wondering whether it might be my misunderstanding. The two data types that "fail" are adLongVarChar and adLongVarBinary. 1. The test reads one of these fields from the first record 2. Moves Forward by random amount 3. Moves back to the first record (which I believe triggers a refresh of the recordset) 4. Reads the same field again, and compares the two 5. Repeats What's happening is that if the same field of one of these types is read two times in a row without a MoveFirst refresh then when value read is an empty string. So the question is, is it appropriate and allowable for the fields of these types to only be able to be read a single time when opened in a forwardOnly cursor? I'm guessing it probably is.
[21 Mar 2008 17:29]
Erica Moss
I've retried this case against SQL Server and even against that data source these two ADO types can only be read a single time unless the cursor is refreshed. Therefore I will close this issue.
