New fields names in the relation table

This commit is contained in:
Loïc Chapeaux
2002-04-27 15:56:10 +00:00
parent dccd38731d
commit e8bec3ac5e
2 changed files with 4 additions and 2 deletions

View File

@@ -21,6 +21,8 @@ $Source$
* scripts/create-release.sh: improved so a CVS branch tag may be used.
* lang/croatian-*; libraries/select_lang.lib.php3: new Croatian
translations thanks to Sime Essert <sime@nofrx.org>.
* tbl_properties.php3, lines 1238-1240: fix new fields names in the
relation table.
* Compressed ChangeLog till the 2.2.6 release.
2002-04-26 Lo<4C>c Chapeaux <lolo@phpheaven.net>

View File

@@ -1235,9 +1235,9 @@ else if (PMA_MYSQL_INT_VERSION >= 32306
// Referential integrity check
if (!empty($cfg['Server']['relation'])) {
$local_query = 'SELECT src_column, dest_table, dest_column'
$local_query = 'SELECT master_field, foreign_table, foreign_field'
. ' FROM ' . $cfg['Server']['relation']
. ' WHERE src_table =\'' . $table . '\';';
. ' WHERE master_table = \'' . $table . '\';';
// we need this 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()