User forgot to define a index on master table
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user