From e91fcb271d589f8dda98aed735b5bc8d488fd641 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 25 Mar 2006 10:10:44 +0000 Subject: [PATCH] bug #1401864, DROP VIEW instead of DROP TABLE --- ChangeLog | 4 ++++ libraries/display_export.lib.php | 13 ++++++++++++- libraries/export/sql.php | 8 +++++++- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7404be5bf..a538de272 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2006-03-25 Marc Delisle + * libraries/display_export.lib.php libraries/export/sql.php: + bug #1401864, DROP VIEW instead of DROP TABLE + 2006-03-23 Marc Delisle * db_operations.php, tbl_properties_operations.php, libraries/display_export.lib.php, lang/*: start work for bug #1401864, diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php index e390eb4c6..3205d262a 100644 --- a/libraries/display_export.lib.php +++ b/libraries/display_export.lib.php @@ -330,7 +330,18 @@ function show_checked_option() { />
+ = 50000) { + $drop_clause = 'DROP TABLE / DROP VIEW'; + } else { + $drop_clause = 'DROP TABLE'; + } + echo sprintf($strAddClause, $drop_clause); ?>