From 4400350206901dbf4c8eda33867d200ae6360d1e Mon Sep 17 00:00:00 2001 From: William Desportes Date: Mon, 21 Oct 2019 19:36:29 +0200 Subject: [PATCH] Fix #15477 - Display referential integrity check for InnoDB Signed-off-by: William Desportes --- tbl_operations.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tbl_operations.php b/tbl_operations.php index 5ce82ee175..55d9a22df5 100644 --- a/tbl_operations.php +++ b/tbl_operations.php @@ -481,12 +481,8 @@ if (Partition::havePartitioning()) { unset($partition_names); // Referential integrity check -// The Referential integrity check was intended for the non-InnoDB -// tables for which the relations are defined in pmadb -// so I assume that if the current table is InnoDB, I don't display -// this choice (InnoDB maintains integrity by itself) -if ($cfgRelation['relwork'] && ! $pma_table->isEngine("INNODB")) { +if ($cfgRelation['relwork']) { $GLOBALS['dbi']->selectDb($GLOBALS['db']); $foreign = $relation->getForeigners($GLOBALS['db'], $GLOBALS['table'], '', 'internal');