From 598d3b898d6be009a1827a08b5705e15d30e90f0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 19 Sep 2010 08:55:54 -0400 Subject: [PATCH] functions, procedures and events are missing from the export --- libraries/export/sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/export/sql.php b/libraries/export/sql.php index a1074cd70..2cb48ec4e 100644 --- a/libraries/export/sql.php +++ b/libraries/export/sql.php @@ -411,7 +411,7 @@ function PMA_exportDBFooter($db) unset($GLOBALS['sql_constraints']); } - if (isset($GLOBALS['sql_structure']) && isset($GLOBALS['sql_procedure_function'])) { + if (($GLOBALS['sql_structure_or_data'] == 'structure' || $GLOBALS['sql_structure_or_data'] == 'structure_and_data') && isset($GLOBALS['sql_procedure_function'])) { $text = ''; $delimiter = '$$';