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

infoschema,executor: add PROCESSLIST table to INFORMMATION_SCHEMA database #7236

Merged
merged 3 commits into from
Aug 1, 2018

Conversation

tiancaiamao
Copy link
Contributor

@tiancaiamao tiancaiamao commented Aug 1, 2018

What have you changed? (mandatory)

add PROCESSLIST table to INFORMMATION_SCHEMA database
Basically, it's the same with show processlist

mysql> select * from processlist;
+------+------+-----------+--------------------+---------+------+-------+---------------------------+
| ID   | USER | HOST      | DB                 | COMMAND | TIME | STATE | Info                      |
+------+------+-----------+--------------------+---------+------+-------+---------------------------+
|    1 | root | 127.0.0.1 | information_schema | Query   |    0 | 2     | select * from processlist |
+------+------+-----------+--------------------+---------+------+-------+---------------------------+
1 row in set (0.00 sec)

What is the type of the changes? (mandatory)

  • Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)

manually

Does this PR affect documentation (docs/docs-cn) update? (mandatory)

no

Does this PR affect tidb-ansible update? (mandatory)

no

Does this PR need to be added to the release notes? (mandatory)

no

@coocood @jackysp

@coocood
Copy link
Member

coocood commented Aug 1, 2018

LGTM

@lysu
Copy link
Contributor

lysu commented Aug 1, 2018

/run-all-tests

@lysu
Copy link
Contributor

lysu commented Aug 1, 2018

/run-mybatis-test

Copy link
Contributor

@lysu lysu left a comment

Choose a reason for hiding this comment

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

LGTM

@zz-jason
Copy link
Member

zz-jason commented Aug 1, 2018

@tiancaiamao Please add some genius-labels for this PR 😄

@tiancaiamao tiancaiamao merged commit 5e7aa1d into pingcap:master Aug 1, 2018
@tiancaiamao tiancaiamao deleted the infoschema-show-processlist branch August 1, 2018 14:48
coocood pushed a commit to coocood/tidb that referenced this pull request Aug 6, 2018
coocood added a commit that referenced this pull request Aug 6, 2018
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. type/compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants