Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

dumpling: properly enable EscapeBackslash with upstream SQL mode (#1142) #1151

Merged
merged 2 commits into from
Oct 13, 2020

Conversation

ti-srebot
Copy link

cherry-pick #1142 to release-2.0


What problem does this PR solve?

part of #1130

What is changed and how it works?

because loader will use upstream's SQL mode, if upstream has NO_BACKSLASH_ESCAPES, we should not escape \ in dump files.

Check List

Tests

  • Integration test

Code changes

Side effects

Related changes

  • Need to cherry-pick to the release branch

@ti-srebot ti-srebot added priority/normal Minor change, requires approval from ≥1 primary reviewer type/bug-fix Bug fix type/cherry-pick This PR is just a cherry-pick (backport) first-time-contributor labels Oct 13, 2020
Copy link
Member

@csuzhangxc csuzhangxc left a comment

Choose a reason for hiding this comment

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

LGTM

@csuzhangxc csuzhangxc added the status/LGT1 One reviewer already commented LGTM label Oct 13, 2020
@csuzhangxc csuzhangxc added this to the v2.0.0 RC.3 milestone Oct 13, 2020
@csuzhangxc
Copy link
Member

/run-all-tests

Cannot contact test-dc172c69-29c3-45ee-b09c-3af957d66367-gc3r8-48m0q: hudson.remoting.RequestAbortedException: java.nio.channels.ClosedChannelException

@lance6716
Copy link
Collaborator

/run-all-tests

@lance6716 lance6716 merged commit 9a02110 into pingcap:release-2.0 Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
first-time-contributor priority/normal Minor change, requires approval from ≥1 primary reviewer status/LGT1 One reviewer already commented LGTM type/bug-fix Bug fix type/cherry-pick This PR is just a cherry-pick (backport)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants