bug #1527862, export foreign keys is broken in latest CVS

This commit is contained in:
Marc Delisle
2006-08-05 10:51:03 +00:00
parent 8e75f5f630
commit 8e5514549d
2 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
$Id$
$Source$
2006-08-05 Marc Delisle <lem9@users.sourceforge.net>
* libraries/export/sql.php: bug #1527862, export foreign keys is broken
in latest CVS
2006-08-04 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties_operations.php, libraries/export/sql.php:
bug #1526000, copying table to another db (MYSQL 5.0.24)

View File

@@ -614,7 +614,9 @@ function PMA_exportStructure($db, $table, $crlf, $error_url, $relation = FALSE,
. $GLOBALS['comment_marker'] . $crlf
. PMA_getTableDef($db, $table, $crlf, $error_url, $dates) . ';' . $crlf
. PMA_getTableComments($db, $table, $crlf, $relation, $comments, $mime);
// this one is built by PMA_getTableDef() to use in table copy/move
// but not in the case of export
unset($GLOBALS['sql_constraints_query']);
return PMA_exportOutputHandler($dump);
}