Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SqliteDataReader.GetFieldType return a incorrect type #175

Open
GoogleCodeExporter opened this issue Jun 24, 2015 · 0 comments
Open

SqliteDataReader.GetFieldType return a incorrect type #175

GoogleCodeExporter opened this issue Jun 24, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
Execute query to a table with a column of decimal type, which return a row with 
values equils to zero.
SqliteDataReader.GetFieldType will return incorrect type.

What is the expected output?
Int64

What do you see instead?
decimal or float

What version of the product are you using? On what operating system?
3.7.7.1, Silverlight

Please provide any additional information below.
Some ORM cache types of returned values. In next query ORM will think what 
column type is long and will invoke SqliteDataReader.GetInt64() instead of 
GetDouble().

Original issue reported on code.google.com by [email protected] on 26 Dec 2012 at 2:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant