removed MySQL < 5 code

This commit is contained in:
Sebastian Mendel
2007-10-02 09:57:19 +00:00
parent e1fd395631
commit 1e81ce19e3
5 changed files with 6 additions and 50 deletions

View File

@@ -27,7 +27,7 @@ if ($type_T1 == 'INNODB' && $type_T2 == 'INNODB') {
// InnoDB
$existrel_innodb = PMA_getForeigners($DB2, $T2, '', 'innodb');
if (PMA_MYSQL_INT_VERSION >= 40013 && isset($existrel_innodb[$F2]['constraint'])) {
if (isset($existrel_innodb[$F2]['constraint'])) {
$upd_query = 'ALTER TABLE ' . PMA_backquote($T2)
. ' DROP FOREIGN KEY '
. PMA_backquote($existrel_innodb[$F2]['constraint']);