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

[Improve] add STAGE for show @@connection.sql #1564

Closed
yanhuqing666 opened this issue Dec 20, 2019 · 2 comments
Closed

[Improve] add STAGE for show @@connection.sql #1564

yanhuqing666 opened this issue Dec 20, 2019 · 2 comments
Assignees
Labels
doc-it differ with mysql, and let it go Improvement
Milestone

Comments

@yanhuqing666
Copy link
Member

the result of show @@connection.sql; will looks like this:

mysql> show @@connection.sql;
+----------+-----------------+------+--------+---------------------+--------------+-----------------------+-----------+
| FRONT_ID | HOST            | USER | SCHEMA | START_TIME          | EXECUTE_TIME | SQL                   | STAGE     |
+----------+-----------------+------+--------+---------------------+--------------+-----------------------+-----------+
|    1     | 0:0:0:0:0:0:0:1 | man  | NULL   | 2017/10/17 17:00:58 |          139 | show @@connection.sql | Read SQL  |
+----------+-----------------+------+--------+---------------------+--------------+-----------------------+-----------+

The Stage column will the same as trace result, but add a finished

@yanhuqing666 yanhuqing666 added this to the 2.19.11.0 milestone Dec 20, 2019
@yanhuqing666 yanhuqing666 self-assigned this Dec 20, 2019
yanhuqing666 added a commit that referenced this issue Dec 20, 2019
@yanhuqing666 yanhuqing666 added the doc-it differ with mysql, and let it go label Dec 20, 2019
yanhuqing666 added a commit that referenced this issue Dec 20, 2019
yanhuqing666 added a commit that referenced this issue Dec 23, 2019
yanhuqing666 added a commit that referenced this issue Dec 23, 2019
Lordess added a commit to Lordess/dble that referenced this issue May 28, 2020
 * actiontech#1564 [Improve] add STAGE for show @@connection.sql
yanhuqing666 added a commit that referenced this issue May 29, 2020
* split merge hander #1139 (#1140)

* reachedConCount thread safe #1139

* import feature from 2.19.11.0/rel to 2.19.03/lts

 * #1564 [Improve] add STAGE for show @@connection.sql

* import feature from 2.19.11.0/rel to 2.19.03/lts

* #1575 [Improve]add an manager command to show recently(doing or done) query detail stage

* release 2.19.03.4/lts

Co-authored-by: tiger.yan <yanhuqing666@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-it differ with mysql, and let it go Improvement
Projects
None yet
Development

No branches or pull requests

1 participant