diff --git a/ChangeLog b/ChangeLog index bc89350f7..8a2e9ec6a 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2006-04-12 Marc Delisle + * export.php: bug #1443004 part 1: do not generate INSERT statements + for an exported VIEW + 2006-04-12 Sebastian Mendel * css/phpmyadmin.css.php: fixed bug #1446017 red border in outdated themes diff --git a/export.php b/export.php index cebe6b4dd..f55a608ba 100644 --- a/export.php +++ b/export.php @@ -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; }