User forgot to define a index on master table

This commit is contained in:
Marc Delisle
2003-08-28 01:39:09 +00:00
parent 79dc25cb2f
commit 4c221e3de8
2 changed files with 8 additions and 0 deletions

View File

@@ -120,6 +120,9 @@ if ($cfgRelation['relwork']
if (isset($upd_query)) {
$upd_rs = PMA_mysql_query($upd_query);
if (PMA_mysql_error() && mysql_errno() == 1005) {
echo '<p class="warning">' . $strNoIndex . ' (' . $master_field .')</p>' . PMA_showMySQLDocu('manual_Table_types', 'InnoDB_foreign_key_constraints') . "\n";
}
unset($upd_query);
}
} // end while