referential integrity and InnoDB

This commit is contained in:
Marc Delisle
2003-07-20 22:25:28 +00:00
parent 3866ff5ae7
commit 273df264f4
2 changed files with 11 additions and 1 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-07-20 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties_operations.php3: Do not display the
"Referential integrity check" section for InnoDB tables
as this was intended for pmadb relations
2003-07-19 Marc Delisle <lem9@users.sourceforge.net>
* (in lots of scripts): checks for paths disclosure
* lang/catalan update, thanks to Xavier Navarro (xavin).

View File

@@ -302,7 +302,12 @@ else if (PMA_MYSQL_INT_VERSION >= 32306
<?php
// Referential integrity check
if ($cfgRelation['relwork']) {
// 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'] && $tbl_type != "INNODB") {
// we need this PMA_mysql_select_db if the user has access to more than one db
// and $db is not the last of the list, because PMA_availableDatabases()