-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Panic in ToInt64 Function in util package When Handling int32 and smaller integer Types #155
Comments
@ahmed-hossam28: yes, It Is intended for int64 only, but panic should not happen while executing queries, so sounds like there is an issue somewhere. |
This is what is was testing.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there!
While testing queries, I encountered a panic when passing an int32 value to a query that i found uses ToInt64 function. The function converts only uint64 and int64 types to int64. If an int, int32, or any other type is passed, the function panics with the message “not a number” so i wondered if it was intended to converts int64 and uint64 only.
The text was updated successfully, but these errors were encountered: