Skip to content
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

expression: fix incorrect uniquote json escapse #7745

Merged
merged 2 commits into from
Sep 20, 2018

Conversation

Kingwl
Copy link
Contributor

@Kingwl Kingwl commented Sep 19, 2018

What problem does this PR solve?

a bug of #7546

What is changed and how it works?

Check List

Tests

  • Unit test

@sre-bot
Copy link
Contributor

sre-bot commented Sep 19, 2018

Hi contributor, thanks for your PR.

This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically.

Copy link
Member

@jackysp jackysp left a comment

Choose a reason for hiding this comment

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

LGTM

@jackysp
Copy link
Member

jackysp commented Sep 20, 2018

/run-all-tests

@@ -110,7 +110,7 @@ func unquoteString(s string) (string, error) {
return "", errors.Trace(err)
}
ret.Write(char[0:size])
i += 5
i += 4
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also make line 105 correct?

@XuHuaiyu XuHuaiyu added contribution This PR is from a community contributor. type/bugfix This PR fixes a bug. component/expression labels Sep 20, 2018
@jackysp jackysp added status/all tests passed and removed component/expression contribution This PR is from a community contributor. type/bugfix This PR fixes a bug. labels Sep 20, 2018
@jackysp jackysp added contribution This PR is from a community contributor. type/bugfix This PR fixes a bug. component/expression labels Sep 20, 2018
Copy link
Contributor

@XuHuaiyu XuHuaiyu left a comment

Choose a reason for hiding this comment

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

LGTM

@winoros winoros merged commit 115c345 into pingcap:master Sep 20, 2018
@Kingwl Kingwl deleted the fix_unquote_json branch September 20, 2018 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/expression contribution This PR is from a community contributor. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants