| Bug #10784 | Time field error with Odbc and Visual Studio .net 2005 | ||
|---|---|---|---|
| Submitted: | 21 May 2005 8:12 | Modified: | 22 May 2005 9:17 |
| Reporter: | Peter Nicol | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | Connector / ODBC | Severity: | S1 (Critical) |
| Version: | 3.51.11 | OS: | Windows (Windows XP Service Pack2) |
| Assigned to: | CPU Architecture: | Any | |
[22 May 2005 9:17]
Vasily Kishkin
Sorry. But I could't repeat the bug. I created test case (it is linked in "Files") and got right result of query.

Description: The time fields are causing the odbc datareader to fall over with error Server Error in '/classify' Application. -------------------------------------------------------------------------------- Index was outside the bounds of the array The other field types seem ok, but I have not tried them all. This is happening with visual studio 2005 beta 2 using c#. Mysql version 4.1 How to repeat: Any sql statement followed by a read e.g. String v_sql = "select time_field from sales"; OdbcDataReader r_buffer = query_buffer(v_sql); //pseduo while(r_buffer.Read()) // this falls over { Response.Write(r_buffer["time_field"].ToString()); }