| Bug #26654 | MyODBC / ADO Enum data type is failing to update | ||
|---|---|---|---|
| Submitted: | 26 Feb 2007 23:43 | Modified: | 2 Jan 2008 22:58 |
| Reporter: | Erica Moss | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | Connector / ODBC | Severity: | S1 (Critical) |
| Version: | 5.1 | OS: | Windows (win xp) |
| Assigned to: | CPU Architecture: | Any | |
[26 Feb 2007 23:43]
Erica Moss
[26 Feb 2007 23:44]
Erica Moss
data file
Attachment: enumTest.csv (application/vnd.ms-excel, text), 443 bytes.
[26 Feb 2007 23:45]
Erica Moss
script unit test fle
Attachment: enumbug.vbs (application/octet-stream, text), 3.60 KiB.
[27 Feb 2007 1:07]
Erica Moss
have to look into this one a bit more
[27 Feb 2007 6:43]
Erica Moss
NEW script unit test fle
Attachment: enumbug.vbs (application/octet-stream, text), 3.66 KiB.
[27 Feb 2007 6:43]
Erica Moss
NEW data file
Attachment: enumTest.csv (application/vnd.ms-excel, text), 967 bytes.
[27 Feb 2007 7:02]
Erica Moss
There are a few mistakes in the first set of test files uploaded so please refer to the ones marked New. Additional information: With the 3.51 drivers it was found that if you add a primary key column to the data set, and make the necessary adjustments to the script, then the test will pass. However making these changes does not alter the results when run against the 5.0 drivers. This error is received on the client on the first update attempt: Error: Source: ADODB.Recordset Line 121 Column 6 Operation is not allowed in this context. This is from the mysql general log when the first record update attempt is made. Note the extra spaces in the value field... 192 Query SET NAMES utf8 191 Quit 192 Query SELECT database() 192 Query SELECT database() 192 Query SELECT * FROM enum_test 193 Connect root@localhost on ado 193 Query SET NAMES utf8 193 Quit 194 Connect root@localhost on ado 194 Query SET NAMES utf8 194 Quit 195 Connect root@localhost on ado 195 Query SET NAMES utf8 196 Connect root@localhost on ado 196 Query SET NAMES utf8 196 Quit 195 Query UPDATE def.ado.enum_test SET C1='number ' WHERE C1='MySQL' AND C2='2007-02-27 00:57:33' 195 Quit
[31 Oct 2007 20:28]
Erica Moss
This is verified working against 3.51.20, however can't be tested against 5.1.0 until Bug #26985 is resolved Testcase added to script unit test framework: ado-compliance\trunk\bugs\26654.vbs
[2 Jan 2008 22:58]
Jess Balint
ADO test case passes against ODBC 5.1 svn r975 (5.1.2-dev)
