Skip to content

Current_timestamp aliases should not be parenthesised for DEFAULT clause#8442

Merged
harshit-gangal merged 2 commits intovitessio:release-9.0from
planetscale:function-call-default
Jul 14, 2021
Merged

Current_timestamp aliases should not be parenthesised for DEFAULT clause#8442
harshit-gangal merged 2 commits intovitessio:release-9.0from
planetscale:function-call-default

Conversation

@GuptaManan100
Copy link
Contributor

Description

This PR fixes the bug which parenthesised CURRENT_TIMESTAMP aliases in DEFAULT clause, causing them not to work against MySQL 5.7.

Related Issue(s)

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Signed-off-by: GuptaManan100 <manan@planetscale.com>
Signed-off-by: GuptaManan100 <manan@planetscale.com>
@harshit-gangal harshit-gangal merged commit 82e640b into vitessio:release-9.0 Jul 14, 2021
@harshit-gangal harshit-gangal deleted the function-call-default branch July 14, 2021 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants