FIXME becomes @todo

This commit is contained in:
Marc Delisle
2006-10-18 12:38:36 +00:00
parent 356f3712f8
commit 384c97721c

View File

@@ -56,9 +56,10 @@ if (isset($db) &&
foreach ($tables_full as $table => $tmp) { foreach ($tables_full as $table => $tmp) {
// to be able to rename a db containing views, we // to be able to rename a db containing views, we
// first collect in $views all the views we find and we // first collect in $views all the views we find and we
// will handle them after the tables; however, this // will handle them after the tables
// does not support the case when a view is based on a view /**
* @todo support a view of a view
*/
if (PMA_Table::isView($db, $table)) { if (PMA_Table::isView($db, $table)) {
$views[] = $table; $views[] = $table;
continue; continue;
@@ -106,10 +107,11 @@ if (isset($db) &&
// now that all tables exist, create all the accumulated constraints // now that all tables exist, create all the accumulated constraints
if (isset($GLOBALS['add_constraints'])) { if (isset($GLOBALS['add_constraints'])) {
// FIXME: this works with mysqli but not with mysql, /**
// because mysql extension does not accept more than one * @todo this works with mysqli but not with mysql, because
// statement; maybe interface with the sql import plugin * mysql extension does not accept more than one statement; maybe
// that handles statement delimiter * interface with the sql import plugin that handles statement delimiter
*/
PMA_DBI_query($GLOBALS['sql_constraints_query_full_db']); PMA_DBI_query($GLOBALS['sql_constraints_query_full_db']);
// and prepare to display them // and prepare to display them