You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first query returns the actual results to be outputted (with LIMIT clause added according to $cfg['MaxExactCount'] (default 25) ), while we use the second query to later use SELECT FOUND_ROWS() to find the total rows (if the query had been run without the LIMIT clause).
Ref : http://dev.mysql.com/doc/refman/5.7/en/information-functions.html#function_found-rows
devenbansod
added
the
question
Used when we need feedback from the submitter or when the issue is a question about PMA
label
Nov 5, 2016
Is it possible to turn this duplication off? I have slow DB connection and sometimes I need to execute slow queries, so it become very inconvenient to do in PHPMyAdmin.
Steps to reproduce
Expected behaviour
Entered query executed only once
Actual behaviour
Entered query executed twice. First - with added LIMIT, second - with added SQL_CALC_FOUND ROWS and LIMIT.
Server configuration
Operating system: Linux
Database: MySQL 5.5
PHP version: 5.6
phpMyAdmin version: 4.6.4
Client configuration
Browser: Chorme
Operating system: Windows 7 x64
Description:
Source query:
select count(*) from goods_prices_view_v11 where delivery_id = 18
When I execute this long-time query I see its double execution in the mysql's SHOW PROCESSLIST command:
First:
Second:
The text was updated successfully, but these errors were encountered: