Skip to content

Format function names correctly#5918

Merged
harshit-gangal merged 1 commit intovitessio:masterfrom
systay:fix-func-format
Mar 12, 2020
Merged

Format function names correctly#5918
harshit-gangal merged 1 commit intovitessio:masterfrom
systay:fix-func-format

Conversation

@systay
Copy link
Copy Markdown
Collaborator

@systay systay commented Mar 12, 2020

No description provided.

Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay requested a review from harshit-gangal March 12, 2020 07:25
@systay systay requested a review from sougou as a code owner March 12, 2020 07:25
for i, c := range s {
if !isLetter(uint16(c)) && (!isDbSystemVariable || !isCarat(uint16(c))) {
if i == 0 || !isDigit(uint16(c)) {
goto mustEscape
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Good riddance. goto has its place, but this was not one of them.

Copy link
Copy Markdown
Member

@harshit-gangal harshit-gangal left a comment

Choose a reason for hiding this comment

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

LGTM

@harshit-gangal harshit-gangal merged commit 9c3dc87 into vitessio:master Mar 12, 2020
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