Mark8236 / csharp-sqlite

Automatically exported from code.google.com/p/csharp-sqlite
Other
0 stars 0 forks source link

SqliteDataReader's GetFieldType() method returns the wrong type. #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a table with one column of Int, NULL allowed
2. Insert 3 rows, first value is NULL, 2nd and 3rd values some integer
3. Use SqliteDataReader and use method GetFieldType(i)

What is the expected output? What do you see instead?
The above method returns typeof(string); should be typeof(Int32)

What version of the product are you using? On what operating system?
3.6.23. Win 7 Pro 64-bit

Please provide any additional information below.

Original issue reported on code.google.com by fusoy...@gmail.com on 16 Jun 2010 at 12:02

GoogleCodeExporter commented 8 years ago
Please retest under the 3.7.5 release

Original comment by noah.hart@gmail.com on 8 Mar 2011 at 5:55