You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Provide Show all button for reasonably small tables
This commit is contained in:
2
sql.php
2
sql.php
@@ -448,7 +448,7 @@ if ($GLOBALS['cfg']['RememberSorting']
|
||||
}
|
||||
|
||||
// Do append a "LIMIT" clause?
|
||||
if ((! $cfg['ShowAll'] || $_SESSION['tmp_user_values']['max_rows'] != 'all')
|
||||
if (($_SESSION['tmp_user_values']['max_rows'] != 'all')
|
||||
&& ! ($is_count || $is_export || $is_func || $is_analyse)
|
||||
&& isset($analyzed_sql[0]['queryflags']['select_from'])
|
||||
&& ! isset($analyzed_sql[0]['queryflags']['offset'])
|
||||
|
||||
Reference in New Issue
Block a user