deleting internal relation no longer worked
This commit is contained in:
@@ -35,7 +35,9 @@ if (PMA_foreignkey_supported($type_T1) && PMA_foreignkey_supported($type_T2) &&
|
||||
}
|
||||
} else {
|
||||
// internal relations
|
||||
PMA_query_as_cu('DELETE FROM '.$cfg['Server']['relation'].' WHERE '
|
||||
PMA_query_as_cu('DELETE FROM '
|
||||
. PMA_backquote($GLOBALS['cfgRelation']['db']) . '.'
|
||||
. $cfg['Server']['relation'].' WHERE '
|
||||
. 'master_db = \'' . PMA_sqlAddslashes($DB2) . '\''
|
||||
. ' AND master_table = \'' . PMA_sqlAddslashes($T2) . '\''
|
||||
. ' AND master_field = \'' . PMA_sqlAddslashes($F2) . '\''
|
||||
|
Reference in New Issue
Block a user