SHOW FIELDS and undefined offset
This commit is contained in:
parent
0644a19bec
commit
a65040f464
@ -9,6 +9,7 @@ $Source$
|
||||
* db_details_structure.php: bug 868996, debug code still in place,
|
||||
thanks to Matthias Fichtner (mfichtner)
|
||||
* browse_foreigners.php: paging does not work; obey RepeatCells=0
|
||||
* libraries/display_tbl.lib.php: bug 857743, SHOW FIELDS
|
||||
|
||||
2003-12-30 Michal Cihar <happynewyer@cihar.com>
|
||||
* lang/czech: Updated.
|
||||
|
||||
@ -92,7 +92,7 @@ function PMA_setDisplayMode(&$the_disp_mode, &$the_total)
|
||||
// 2.2 Statement is a "SHOW..."
|
||||
else if ($GLOBALS['is_show']) {
|
||||
// 2.2.1 TODO : defines edit/delete links depending on show statement
|
||||
$tmp = preg_match('@^SHOW[[:space:]]+(VARIABLES|(FULL[[:space:]]+)?PROCESSLIST|STATUS|TABLE|GRANTS|CREATE|LOGS|DATABASES)@i', $GLOBALS['sql_query'], $which);
|
||||
$tmp = preg_match('@^SHOW[[:space:]]+(VARIABLES|(FULL[[:space:]]+)?PROCESSLIST|STATUS|TABLE|GRANTS|CREATE|LOGS|DATABASES|FIELDS)@i', $GLOBALS['sql_query'], $which);
|
||||
if (strpos(' ' . strtoupper($which[1]), 'PROCESSLIST') > 0) {
|
||||
$do_display['edit_lnk'] = 'nn'; // no edit link
|
||||
$do_display['del_lnk'] = 'kp'; // "kill process" type edit link
|
||||
|
||||
Loading…
Reference in New Issue
Block a user