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

planner/core/logical_plan_test.go: add error check #24942

Merged
merged 4 commits into from
May 27, 2021

Conversation

ClSlaid
Copy link
Contributor

@ClSlaid ClSlaid commented May 27, 2021

Signed-off-by: ClSlaid [email protected]

What problem does this PR solve?

fix make check.

Problem Summary:
an err was forgot to check, leading to a failure of make check.

What is changed and how it works?

What's Changed:

  • planner/core/logical_plan_test.go

How it Works:

  • add error check

Related changes

#24613

Check List

Tests

  • No code

Side effects
no side effects

Release note

  • fix make check.

Signed-off-by: ClSlaid <[email protected]>
@ClSlaid ClSlaid requested a review from a team as a code owner May 27, 2021 14:00
@ClSlaid ClSlaid requested review from qw4990 and removed request for a team May 27, 2021 14:00
@ti-chi-bot ti-chi-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 27, 2021
Signed-off-by: ClSlaid <[email protected]>
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label May 27, 2021
@ClSlaid
Copy link
Contributor Author

ClSlaid commented May 27, 2021

/run-check_dev_2

@ClSlaid
Copy link
Contributor Author

ClSlaid commented May 27, 2021

/run-all-tests

Comment on lines 1311 to 1313
// to fix, Table 'test.ttt' doesn't exist
err = Preprocess(s.ctx, stmt, WithPreprocessorReturn(&PreprocessorReturn{InfoSchema: s.is}))
c.Assert(err, IsNil, comment)
Copy link
Member

Choose a reason for hiding this comment

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

This err seems to need a fix rather than simply think it's nil here. (see the comment)

@JmPotato
Copy link
Member

/lgtm cancel

@ti-chi-bot ti-chi-bot removed the status/LGT1 Indicates that a PR has LGTM 1. label May 27, 2021
@JmPotato
Copy link
Member

image

Signed-off-by: ClSlaid <[email protected]>
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label May 27, 2021
@ti-chi-bot
Copy link
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • JmPotato
  • nolouch

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by writing /lgtm in a comment.
Reviewer can cancel approval by writing /lgtm cancel in a comment.

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels May 27, 2021
@nolouch
Copy link
Member

nolouch commented May 27, 2021

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: efbc39d

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label May 27, 2021
@ti-chi-bot ti-chi-bot merged commit 165c67f into pingcap:master May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants