tbl_select and innodb
This commit is contained in:
@@ -11,6 +11,7 @@ $Source$
|
||||
* libraries/display_tbl.lib.php3: use PMA_getForeigners()
|
||||
* libraries/relation.lib.php3: now PMA_getForeigners() gets also
|
||||
foreign keys defined in innnodb
|
||||
* tbl_select.php3: use PMA_getForeigners() also for innodb
|
||||
|
||||
2003-06-17 Michal Cihar <nijel@users.sourceforge.net>
|
||||
* config.inc.php3: Fixed typo (s/'PMA_pdf_page'/'PMA_pdf_pages'/).
|
||||
|
@@ -65,7 +65,10 @@ if (!isset($param) || $param[0] == '') {
|
||||
// <markus@noga.de>
|
||||
// retrieve keys into foreign fields, if any
|
||||
$cfgRelation = PMA_getRelationsParam();
|
||||
$foreigners = ($cfgRelation['relwork'] ? PMA_getForeigners($db, $table) : FALSE);
|
||||
// check also foreigners even if relwork is FALSE (to get
|
||||
// foreign keys from innodb)
|
||||
//$foreigners = ($cfgRelation['relwork'] ? PMA_getForeigners($db, $table) : FALSE);
|
||||
$foreigners = PMA_getForeigners($db, $table);
|
||||
?>
|
||||
<form method="post" action="tbl_select.php3">
|
||||
<?php echo PMA_generate_common_hidden_inputs($db, $table); ?>
|
||||
|
Reference in New Issue
Block a user