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

tidb: Fix schema change problem in running multiple statements #931

Merged
merged 1 commit into from
Feb 29, 2016

Conversation

shenli
Copy link
Member

@shenli shenli commented Feb 29, 2016

When deal with multiple statements, we should run nameResolver one by one.
See: #893

@coocood

@shenli
Copy link
Member Author

shenli commented Feb 29, 2016

@zimulala

for i, st := range statements {
for i, rst := range rawStmts {
st, err1 := Compile(s, rst)
if err1 != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

add the original error log ?

@zimulala
Copy link
Contributor

LGTM

1 similar comment
@coocood
Copy link
Member

coocood commented Feb 29, 2016

LGTM

When deal with multiple statements, we should run nameResolver one by one.
Fix issue893
shenli added a commit that referenced this pull request Feb 29, 2016
tidb: Fix schema change problem in running multiple statements
@shenli shenli merged commit af2faf4 into master Feb 29, 2016
@shenli shenli deleted the shenli/issue-893 branch February 29, 2016 13:58
xhebox added a commit to xhebox/tidb that referenced this pull request Sep 28, 2021
follow
pingcap#18030 (comment).
However, "constraints" is used for "label". Because it is not
necessarily related to region/locality.
xhebox added a commit to xhebox/tidb that referenced this pull request Oct 8, 2021
follow
pingcap#18030 (comment).
However, "constraints" is used for "label". Because it is not
necessarily related to region/locality.
ti-chi-bot pushed a commit that referenced this pull request Oct 9, 2021
follow
#18030 (comment).
However, "constraints" is used for "label". Because it is not
necessarily related to region/locality.
guo-shaoge pushed a commit to guo-shaoge/tidb that referenced this pull request May 30, 2024
Signed-off-by: disksing <i@disksing.com>
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.

3 participants