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

executor: fix show create table display mistake #6630

Merged

Conversation

zhexuany
Copy link
Contributor

@zhexuany zhexuany commented May 23, 2018

Before:

CREATE TABLE `t` (
 `id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
PARTITION BY RANGE ( `id` ) (
 PARTITION p0 VALUES LESS THAN 6,
 PARTITION p1 VALUES LESS THAN 11,
 PARTITION p2 VALUES LESS THAN 16,
 PARTITION p3 VALUES LESS THAN 21
)

After:

CREATE TABLE `t` (
 `id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
PARTITION BY RANGE ( `id` ) (
 PARTITION p0 VALUES LESS THAN (6),
 PARTITION p1 VALUES LESS THAN (11),
 PARTITION p2 VALUES LESS THAN (16),
 PARTITION p3 VALUES LESS THAN (21)
)

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

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

@XuHuaiyu
Copy link
Contributor

/run-all-tests

@XuHuaiyu XuHuaiyu added the status/LGT2 Indicates that a PR has LGTM 2. label May 23, 2018
@shenli shenli merged commit 30fe526 into pingcap:master May 23, 2018
@zhexuany zhexuany deleted the fix_show_create_table_partition_by_range branch September 11, 2018 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants