bug 1443004 part 1: do not generate INSERT for an exported VIEW

This commit is contained in:
Marc Delisle
2006-04-12 21:00:12 +00:00
parent c70930403c
commit 61c509d559
2 changed files with 7 additions and 3 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-04-12 Marc Delisle <lem9@users.sourceforge.net>
* export.php: bug #1443004 part 1: do not generate INSERT statements
for an exported VIEW
2006-04-12 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* css/phpmyadmin.css.php:
fixed bug #1446017 red border in outdated themes

View File

@@ -436,7 +436,7 @@ if ($export_type == 'server') {
break 3;
}
}
if (isset($GLOBALS[$what . '_data'])) {
if (isset($GLOBALS[$what . '_data']) && ! PMA_tableIsView($current_db, $table)) {
if (!PMA_exportData($current_db, $table, $crlf, $err_url, $local_query)) {
break 3;
}
@@ -467,7 +467,7 @@ if ($export_type == 'server') {
break 2;
}
}
if (isset($GLOBALS[$what . '_data'])) {
if (isset($GLOBALS[$what . '_data']) && ! PMA_tableIsView($db, $table)) {
if (!PMA_exportData($db, $table, $crlf, $err_url, $local_query)) {
break 2;
}
@@ -508,7 +508,7 @@ if ($export_type == 'server') {
break;
}
}
if (isset($GLOBALS[$what . '_data'])) {
if (isset($GLOBALS[$what . '_data']) && ! PMA_tableIsView($db, $table)) {
if (!PMA_exportData($db, $table, $crlf, $err_url, $local_query)) {
break;
}