Skip to content

Conversation

@rafimuhammad01
Copy link

related to dolthub/dolt#2261

Copy link

@fulghum fulghum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing this @rafimuhammad01! 🙏 Good job figuring out the various layers involved in this change.

Code looks good; I only had a few minor comments.

Comment on lines 468 to 469
%type <sqlVal> length_opt column_comment ignore_number_opt
%type <sqlVal> var_length_opt column_comment ignore_number_opt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some duplication here that would be good to simplify:

Suggested change
%type <sqlVal> length_opt column_comment ignore_number_opt
%type <sqlVal> var_length_opt column_comment ignore_number_opt
%type <sqlVal> var_length_opt length_opt column_comment ignore_number_opt

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this possible in yacc since I'm new with it. Thanks for the feedback! 🍻

@fulghum fulghum self-assigned this Sep 13, 2022
Copy link

@fulghum fulghum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work; these changes look great. Thank you for working with us on this contribution! 🙏

I'll get this merged into main next and let it work its way into go-mysql-server.

@fulghum fulghum merged commit 81df18d into dolthub:main Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants