Bug #98498 | P_S view status_by_thread does not reflect correct results | ||
---|---|---|---|
Submitted: | 6 Feb 2020 9:41 | Modified: | 6 Feb 2020 15:44 |
Reporter: | Oli Sennhauser | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Performance Schema | Severity: | S3 (Non-critical) |
Version: | 5.7, 8.0 | OS: | Any (n.a.) |
Assigned to: | CPU Architecture: | Any (n.a.) |
[6 Feb 2020 9:41]
Oli Sennhauser
[6 Feb 2020 15:47]
MySQL Verification Team
Hi Mr. Sennhauser, Thank you for your bug report. I have got results very similar to yours with latest 5.7 and latest 8.0 releases. Here they are, in the same order as in your test case, although with different queries .... +-----------+----------------+--------+-----------+------+---------+------+ | thread_id | Processlist Id | User | Host | db | Command | Time | +-----------+----------------+--------+-----------+------+---------+------+ | 63 | 20 | sinisa | localhost | test | Sleep | 55 | +-----------+----------------+--------+-----------+------+---------+------+ +--------------------+----------------+ | variable_name | variable_value | +--------------------+----------------+ | Com_stmt_reprepare | 0 | | Queries | 36 | | Questions | 2 | +--------------------+----------------+ +------------------------------------------+-------+ | Variable_name | Value | +------------------------------------------+-------+ | Performance_schema_thread_classes_lost | 0 | | Performance_schema_thread_instances_lost | 0 | +------------------------------------------+-------+ +----------+----------------------------------+----------------+ | event_id | sql_text | current_schema | +----------+----------------------------------+----------------+ | 9 | show processlist | test | | 8 | show processlist | test | | 7 | show processlist | test | | 6 | select @@version_comment limit 1 | test | | 5 | NULL | test | | 3 | show tables | test | | 1 | show databases | test | +----------+----------------------------------+----------------+ Verified as reported.