New fields names in the relation table
This commit is contained in:
@@ -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>
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user