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

retrieving BIGINTfrom db is faulty #45

Closed
slachtar opened this issue Nov 13, 2014 · 5 comments
Closed

retrieving BIGINTfrom db is faulty #45

slachtar opened this issue Nov 13, 2014 · 5 comments
Labels

Comments

@slachtar
Copy link

Hello,
I've a table with a BIGINT field, I'm running a simple select query.
The values being retrieved are different from those stored in db. They are only ok with field values being small, but with real big int values like 862304020112911, the values being retrived are negative values and thus wrong.

As a workaround, I'm casting to varchar(20) and later parseInt() the result.

Regards

@petersirka
Copy link
Collaborator

@slachtar Do you have the same problem with GitHub version?

@slachtar
Copy link
Author

will test it and come back to you.

@slachtar
Copy link
Author

Hello,
well the same problem. Small values are ok, but big values are rounded to some negative values.
image

@petersirka
Copy link
Collaborator

I fixed it.
Please download latest version from GitHub.

Thanks.

@slachtar
Copy link
Author

Fixed, nice work, thank you.

@mariuz mariuz added the bug label Nov 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants