add a FIXME for db copy with Add Constraints and mysql extension
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2006-08-08 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* db_operations.php: added a FIXME for db copy with Add Constraints
|
||||
and mysql extension
|
||||
|
||||
2006-08-05 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/export/sql.php: bug #1527862, export foreign keys is broken
|
||||
in latest CVS
|
||||
|
@@ -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']);
|
||||
|
Reference in New Issue
Block a user