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

@@ -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);
}