bug #1619647, export of query results should not contain procedure definitions

This commit is contained in:
Marc Delisle
2006-12-21 01:07:01 +00:00
parent 4c48f6e2e2
commit 5164ad3cc0
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
$Id$
$Source$
2006-12-20 Marc Delisle <lem9@users.sourceforge.net>
* libraries/export/sql.php: bug #1619647, export of query results
should not contain procedure definitions
2006-12-15 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html, libraries/common.lib.php, config.default.php:
bug #1615313, doc referred to HTTP so enable the code to accept

View File

@@ -284,7 +284,7 @@ function PMA_exportDBFooter($db)
unset($GLOBALS['sql_constraints']);
}
if (PMA_MYSQL_INT_VERSION >= 50000) {
if (PMA_MYSQL_INT_VERSION >= 50000 && isset($GLOBALS['sql_structure'])) {
$procs_funcs = '';
$procedure_names = PMA_DBI_get_procedures_or_functions($db, 'PROCEDURE');