Bug #32582 | Potential ODBC bug with returning date fields while using passthrough queries | ||
---|---|---|---|
Submitted: | 21 Nov 2007 16:47 | Modified: | 23 Nov 2007 13:45 |
Reporter: | Joe Parisi | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / ODBC | Severity: | S1 (Critical) |
Version: | 3.51.22 | OS: | Any (date fields become garbled) |
Assigned to: | CPU Architecture: | Any |
[21 Nov 2007 16:47]
Joe Parisi
[21 Nov 2007 17:10]
Susanne Ebrecht
Many thanks for writing a bug report. Please, can you add the trace file.
[21 Nov 2007 19:08]
Joe Parisi
trace file
Attachment: SQL.LOG (application/octet-stream, text), 15.72 KiB.
[23 Nov 2007 13:45]
Susanne Ebrecht
Hi, I tested this with MyODBC 3.51 and MyODBC 5.1 and I really can't reproduce it. My table-statement: create table email(email text, date datetime); insert into email ('susanne@mysql.de', current_date); insert into email ('susanne@mysql.com', current_date - interval 1 day); insert into email ('susanne@mysql.com', current_date - interval 10 day); I opened Access 2007 and wrote the sql statement: select distinct (email), date_format(date, '%m/%d/%Y %H%i') as output_date from email; Clicked to "pass through" and "run" and it works like the attached image show.
[23 Nov 2007 13:47]
Susanne Ebrecht
screenshot
Attachment: bug32582.jpg (image/jpeg, text), 117.73 KiB.