return to the browse mode once a "KILL" statement has been run
This commit is contained in:
@@ -11,6 +11,9 @@ $Source$
|
|||||||
- extended last fix from Robin to the "MySQL runtime information" and
|
- extended last fix from Robin to the "MySQL runtime information" and
|
||||||
"MySQL system variables" links;
|
"MySQL system variables" links;
|
||||||
- but allowed these directives to be bypassed for super-users.
|
- but allowed these directives to be bypassed for super-users.
|
||||||
|
* libraries/display_tbl.lib.php3, lines 715-724: return to the browse mode
|
||||||
|
once a "KILL" statement has been run. Thanks to
|
||||||
|
Florian Perrichot <perrich at club-internet.fr> for this suggestion.
|
||||||
|
|
||||||
2001-11-08 Robin Johnson <robbat2@users.sourceforge.net>
|
2001-11-08 Robin Johnson <robbat2@users.sourceforge.net>
|
||||||
* config.inc.php3; main.php3; phpinfo.php3: fixed bug #479303
|
* config.inc.php3; main.php3; phpinfo.php3: fixed bug #479303
|
||||||
|
@@ -712,12 +712,16 @@ if (!defined('__LIB_DISPLAY_TBL__')){
|
|||||||
. ' WHERE ' . trim(js_format(urldecode($uva_condition), FALSE)) . ' LIMIT 1';
|
. ' WHERE ' . trim(js_format(urldecode($uva_condition), FALSE)) . ' LIMIT 1';
|
||||||
$del_str = $GLOBALS['strDelete'];
|
$del_str = $GLOBALS['strDelete'];
|
||||||
} else if ($is_display['del_lnk'] == 'kp') { // kill process case
|
} else if ($is_display['del_lnk'] == 'kp') { // kill process case
|
||||||
|
$goto = 'sql.php3'
|
||||||
|
. '?' . str_replace('&', '&', $url_query)
|
||||||
|
. '&sql_query=' . urlencode($sql_query)
|
||||||
|
. '&goto=main.php3';
|
||||||
$del_url = 'sql.php3'
|
$del_url = 'sql.php3'
|
||||||
. '?lang=' . $lang
|
. '?lang=' . $lang
|
||||||
. '&server=' . $server
|
. '&server=' . $server
|
||||||
. '&db=mysql'
|
. '&db=mysql'
|
||||||
. '&sql_query=' . urlencode('KILL ' . $row['Id'])
|
. '&sql_query=' . urlencode('KILL ' . $row['Id'])
|
||||||
. '&goto=main.php3';
|
. '&goto=' . urlencode($goto);
|
||||||
$js_conf = 'KILL ' . $row['Id'];
|
$js_conf = 'KILL ' . $row['Id'];
|
||||||
$del_str = $GLOBALS['strKill'];
|
$del_str = $GLOBALS['strKill'];
|
||||||
} // end if (1.2.2)
|
} // end if (1.2.2)
|
||||||
|
Reference in New Issue
Block a user