Bug #26165 | MyODBC ADO field attribute adFldLong should be set for Text/Blob fields | ||
---|---|---|---|
Submitted: | 7 Feb 2007 21:48 | Modified: | 1 Dec 2010 8:42 |
Reporter: | Erica Moss | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
Version: | 3.51 | OS: | Windows (win xp) |
Assigned to: | Erica Moss | CPU Architecture: | Any |
[7 Feb 2007 21:48]
Erica Moss
[8 Feb 2007 13:19]
Bogdan Degtyariov
Hello Eric, I checked your VB code in MS Access with MyODBC 3.51.12 and it displayed "True" for all fields. This means that adFldLong flag is set for these fields. Accordingly to your report it showed "False" for you? Did I miss something? Please comment. Thanks.
[9 Feb 2007 21:30]
Erica Moss
Hmm, my bad I should have checked this code before submitting. For some reason VB6 is returning a different aggregate attribute value for these fields, than does VBscript. The former returns 234 as the attribute property for MySQL Text columns, which when And'd with adFldLong does return true. However VBScript says fld.attribues for a Text field is 104, which doesn't include adFldLong. I'd be tempted to blame this on a VB bug, however if you run the same VBscript test against MyODBC 5.0 drivers this same property for this same column is 138 which does include adFldLong, so we are doing something different between these two drivers. Please look in the ADO compliance tests scripts and run fldattributes.vbs against MyODBC 3.51 and 5.0, detailed test output is presented in ../common/FldAttributes-Results.txt
[24 Feb 2010 14:13]
Tonci Grgin
Eric, please reverify as agreed. We need to see if this is related to Bug#48105.
[1 Dec 2010 8:42]
Bogdan Degtyariov
Checked with 3.51.27. All fields are shown with adFldLong flags. Closing the bug.