diff options
author | Marc Delisle <marc@infomarc.info> | 2011-12-28 17:40:31 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2011-12-28 17:40:31 +0400 |
commit | f7a9d2a36a5cedd0b380e8ca89de856a44da1874 (patch) | |
tree | 79dbc866e852d3c08a5c924b1d4a930fde65a10b /sql.php | |
parent | cd294e5b97c723fa85e29d2b2c43eaa48e60c60a (diff) |
bug #3463933 [display] SELECT DISTINCT displays wrong total records found
Diffstat (limited to 'sql.php')
-rw-r--r-- | sql.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -494,6 +494,7 @@ if (isset($GLOBALS['show_as_php']) || !empty($GLOBALS['validatequery'])) { if (!$is_group && !isset($analyzed_sql[0]['queryflags']['union']) + && !isset($analyzed_sql[0]['queryflags']['distinct']) && !isset($analyzed_sql[0]['table_ref'][1]['table_name']) && (empty($analyzed_sql[0]['where_clause']) || $analyzed_sql[0]['where_clause'] == '1 ') |