-
Notifications
You must be signed in to change notification settings - Fork 83
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
current_timestamp()
not treated as sql literal
#1111
Labels
Comments
This doesn't happen when using mysql 5.7.33. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Description
In my case the server returns
current_timestamp()
as the default value fort
but that value is not treated as a sql literal by datajoint. Therefore datajoint surrounds the value with quotation marks making it an invalid default value and leading to the error. One fix is to addcurrent_timestamp()
to the list of literals here. I would be happy to make a PR if you agree with that fix.Reproducibility
The text was updated successfully, but these errors were encountered: