bug #1401864, preparing for possible DROP VIEW clauses

This commit is contained in:
Marc Delisle
2006-03-23 18:01:43 +00:00
parent 78416302a8
commit 9c993cdacd
4 changed files with 9 additions and 5 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-03-23 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_export.lib.php, lang/*: start work for bug #1401864,
generation of DROP VIEW statements where appropriate
2006-03-23 Michal Čihař <michal@cihar.com>
* libraries/import/sql.php: Fix handling of -- (bug #1453430).

View File

@@ -254,7 +254,7 @@ if (!$is_information_schema) {
<?php echo $strCreateDatabaseBeforeCopying; ?></label><br />
<input type="checkbox" name="drop_if_exists" value="true"
id="checkbox_drop" style="vertical-align: middle" />
<label for="checkbox_drop"><?php echo $strStrucDrop; ?></label><br />
<label for="checkbox_drop"><?php echo sprintf($strAddClause, 'DROP TABLE'); ?></label><br />
<input type="checkbox" name="sql_auto_increment" value="1"
id="checkbox_auto_increment" style="vertical-align: middle" />
<label for="checkbox_auto_increment">

View File

@@ -311,7 +311,7 @@ function show_checked_option() {
id="checkbox_drop_database"
<?php PMA_exportCheckboxCheck('sql_drop_database'); ?> />
<label for="checkbox_drop_database">
<?php echo $strAddDropDatabase; ?></label>
<?php echo sprintf($strAddClause, 'DROP DATABASE'); ?></label>
</fieldset>
<?php } if ( ! $hide_structure ) { /* SQL structure */ ?>
<fieldset>
@@ -330,13 +330,13 @@ function show_checked_option() {
<input type="checkbox" name="drop" value="1" id="checkbox_dump_drop"
<?php PMA_exportCheckboxCheck('sql_drop_table'); ?> />
<label for="checkbox_dump_drop">
<?php echo $strStrucDrop; ?></label><br />
<?php echo sprintf($strAddClause, 'DROP TABLE'); ?></label><br />
<input type="checkbox" name="if_not_exists" value="1"
id="checkbox_dump_if_not_exists"
<?php PMA_exportCheckboxCheck('sql_if_not_exists'); ?> />
<label for="checkbox_dump_if_not_exists">
<?php echo $strAddIfNotExists; ?></label><br />
<?php echo sprintf($strAddClause, 'IF NOT EXISTS'); ?></label><br />
<input type="checkbox" name="sql_auto_increment" value="1"
id="checkbox_auto_increment"

View File

@@ -356,7 +356,7 @@ foreach ($dblist as $each_db) {
<label for="radio_copy_dataonly"><?php echo $strDataOnly; ?></label><br />
<input type="checkbox" name="drop_if_exists" value="true" id="checkbox_drop" />
<label for="checkbox_drop"><?php echo $strStrucDrop; ?></label><br />
<label for="checkbox_drop"><?php echo sprintf($strAddClause, 'DROP TABLE'); ?></label><br />
<input type="checkbox" name="sql_auto_increment" value="1" id="checkbox_auto_increment" />
<label for="checkbox_auto_increment"><?php echo $strAddAutoIncrement; ?></label><br />
<?php