Fixed a bug if a "DROP" query were submitted from a sql file
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2001-09-23 Benjamin Gandon <gandon@users.sourceforge.net>
|
||||
* read_dump.php3: widely improved (some remaining bugs has been fixed and
|
||||
the script is now about too time faster than before).
|
||||
|
||||
2001-09-23 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* config.inc.php3; Documentation.html; db_details.php3; tbl_dump.php3;
|
||||
tbl_properties.php3; libraries/functions.php3; libraries/zip.lib.php3:
|
||||
@@ -14,6 +18,9 @@ $Source$
|
||||
translations.
|
||||
* most of the scripts were updated to fix bug #444352 (Data
|
||||
Missing/POST Error).
|
||||
* db_details.php3; db_stats.php3; mult_submits.inc.php3;
|
||||
tbl_properties.php3: fixed a bug if a "DROP" query were submitted from a
|
||||
sql file.
|
||||
|
||||
2001-09-23 Armel Fauveau <armel.fauveau@globalis-ms.com>
|
||||
* add zip dump feature
|
||||
|
@@ -59,7 +59,7 @@ window.parent.frames['nav'].location.replace('./left.php3?lang=<?php echo $lang;
|
||||
* Drop/delete mutliple tables if required
|
||||
*/
|
||||
if ((!empty($submit_mult) && isset($selected_tbl))
|
||||
|| isset($btnDrop)) {
|
||||
|| isset($mult_btnDrop)) {
|
||||
$action = 'db_details.php3';
|
||||
include('./mult_submits.inc.php3');
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@ require('./header.inc.php3');
|
||||
* Drop databases if required
|
||||
*/
|
||||
if ((!empty($submit_mult) && isset($selected_db))
|
||||
|| isset($btnDrop)) {
|
||||
|| isset($mult_btnDrop)) {
|
||||
$err_url = 'db_stats.php3'
|
||||
. '?lang=' . $lang
|
||||
. '&server=' . $server;
|
||||
|
@@ -89,8 +89,8 @@ if (!empty($submit_mult)
|
||||
}
|
||||
?>
|
||||
<input type="hidden" name="query_type" value="<?php echo $what; ?>" />
|
||||
<input type="submit" name="btnDrop" value="<?php echo $strYes; ?>" />
|
||||
<input type="submit" name="btnDrop" value="<?php echo $strNo; ?>" />
|
||||
<input type="submit" name="mult_btnDrop" value="<?php echo $strYes; ?>" />
|
||||
<input type="submit" name="mult_btnDrop" value="<?php echo $strNo; ?>" />
|
||||
</form>
|
||||
<?php
|
||||
echo"\n";
|
||||
@@ -102,8 +102,8 @@ if (!empty($submit_mult)
|
||||
/**
|
||||
* Executes the query
|
||||
*/
|
||||
else if ((get_magic_quotes_gpc() && stripslashes($btnDrop) == $strYes)
|
||||
|| $btnDrop == $strYes) {
|
||||
else if ((get_magic_quotes_gpc() && stripslashes($mult_btnDrop) == $strYes)
|
||||
|| $mult_btnDrop == $strYes) {
|
||||
|
||||
$sql_query = '';
|
||||
$selected_cnt = count($selected);
|
||||
|
@@ -59,7 +59,7 @@ if (!isset($message)) {
|
||||
* Drop/delete mutliple tables if required
|
||||
*/
|
||||
if ((!empty($submit_mult) && isset($selected_fld))
|
||||
|| isset($btnDrop)) {
|
||||
|| isset($mult_btnDrop)) {
|
||||
$action = 'tbl_properties.php3';
|
||||
include('./mult_submits.inc.php3');
|
||||
}
|
||||
|
Reference in New Issue
Block a user