diff --git a/ChangeLog b/ChangeLog index 2998e88cb..a7e0d908e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog $Id$ $Source$ +2006-08-08 Marc Delisle + * db_operations.php: added a FIXME for db copy with Add Constraints + and mysql extension + 2006-08-05 Marc Delisle * libraries/export/sql.php: bug #1527862, export foreign keys is broken in latest CVS diff --git a/db_operations.php b/db_operations.php index 77d1d7c58..533c30cd7 100644 --- a/db_operations.php +++ b/db_operations.php @@ -87,7 +87,12 @@ if (isset($db) && // now that all tables exist, create all the accumulated constraints if (isset($GLOBALS['add_constraints'])) { + // FIXME: this works with mysqli but not with mysql, + // because mysql extension does not accept more than one + // statement; maybe interface with the sql import plugin + // that handles statement delimiter PMA_DBI_query($GLOBALS['sql_constraints_query_full_db']); + // and prepare to display them $GLOBALS['sql_query'] .= "\n" . $GLOBALS['sql_constraints_query_full_db']; unset($GLOBALS['sql_constraints_query_full_db']);