Execution time (Query took XX seconds) isn't showing for SELECT COUNT(*) queries · Issue #16869 · phpmyadmin/phpmyadmin · GitHub
Skip to content

Execution time (Query took XX seconds) isn't showing for SELECT COUNT(*) queries #16869

Description

@MurzNN

Describe the bug

When I execute queries like SELECT COUNT(*) FROM my_table - query execution time isn't shown.

To Reproduce

Steps to reproduce the behavior:

  1. Execute the SELECT * FROM my_table query - see the yellow line with query execution time like:
Showing rows 0 - 24 (6117293 total, Query took 0.0048 seconds.) 
  1. Execute the SELECT COUNT(*) FROM my_table query - see the yellow line without query execution time like:
Your SQL query has been executed successfully.

Expected behavior

Execution time must be present in all types of queries.

Server configuration

  • phpMyAdmin version: 5.1.0

Metadata

Metadata

Assignees

Labels

BugA problem or regression with an existing featureaffects/5.2This issue or pull-request affects 5.2.x releases (and maybe further versions)waiting on upstreamIssues blocked by a third-party

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions