| Bug #28657 | ODBC Connector returns FALSE on SQLGetTypeInfo with DATETIME (wxWindows latest) | ||
|---|---|---|---|
| Submitted: | 24 May 2007 16:38 | Modified: | 26 Jul 2007 16:25 |
| Reporter: | Christian Dankbar | ||
| Status: | Closed | ||
| Category: | Connector/ODBC | Severity: | S2 (Serious) |
| Version: | 3.51 & 5.0 | OS: | Microsoft Windows (Win2000/XP) |
| Assigned to: | Jim Winstead | Target Version: | |
| Tags: | ODBC, datetime, wxWindows, wxWidgets | ||
[24 May 2007 16:38]
Christian Dankbar
[24 May 2007 19:45]
Jess Balint
Can you include an ODBC trace log?
[30 May 2007 2:56]
Jim Winstead
I can confirm this for the 3.51 series, because we use SQL_TIMESTAMP for the DATETIME type for some reason. We'll have to investigate to figure out why. I haven't checked what the 5.0 driver does.
[30 May 2007 10:13]
Christian Dankbar
The 5.0 (I tested version 5.00.11 beta) shows the same behavior.
[10 Jul 2007 21:36]
Jim Winstead
Fix results for date/time types, and check SQL_DATA_TYPE in addition to DATA_TYPE
Attachment: bug28657.patch (text/plain), 4.42 KiB.
[26 Jul 2007 16:25]
MC Brown
A note has been added to the 3.51.18 changelog: DATETIME column types would return FALSE in place of SQL_SUCCESS when requesting the column type information.
