This commit is contained in:
Marc Delisle
2002-07-24 18:11:00 +00:00
parent a820c208e1
commit a077c67e6d
2 changed files with 15 additions and 11 deletions

View File

@@ -56,4 +56,5 @@ if (!empty($show_comment)) {
<?php <?php
} // end if } // end if
echo "\n\n";
?> ?>

View File

@@ -4,9 +4,10 @@
/** /**
* Gets some core libraries * Gets some core libraries
*/ *
/* i am including part of the tbl_properties stuff which will complain if it is * I am including part of the tbl_properties stuff which will complain if it is
not being told what part of the tbl_properties is calling it, so i set this variable empty: * not being told what part of the tbl_properties is calling it, so i set this
* variable empty:
*/ */
$sub_part=''; $sub_part='';
@@ -168,8 +169,10 @@ if ($cfgRelation['relwork']) {
$selectboxall[$field_full] = $field_v; $selectboxall[$field_full] = $field_v;
} }
} // end if (mysql_num_rows) } // end if (mysql_num_rows)
// Mike Beck 24.07.02: i've been asked to add all keys of the current table Bug 574851 // Mike Beck - 24.07.02: i've been asked to add all keys of the
} else if ($curr_table[0] == $table) { // current table (see bug report #574851)
}
else if ($curr_table[0] == $table) {
$fi_query = 'SHOW KEYS FROM ' . PMA_backquote($curr_table[0]); $fi_query = 'SHOW KEYS FROM ' . PMA_backquote($curr_table[0]);
$fi_rs = PMA_mysql_query($fi_query) or PMA_mysqlDie('', $fi_query, '', $err_url_0); $fi_rs = PMA_mysql_query($fi_query) or PMA_mysqlDie('', $fi_query, '', $err_url_0);
if ($fi_rs && mysql_num_rows($fi_rs) > 0) { if ($fi_rs && mysql_num_rows($fi_rs) > 0) {
@@ -179,7 +182,7 @@ if ($cfgRelation['relwork']) {
if (isset($field_full) && isset($field_v)) { if (isset($field_full) && isset($field_v)) {
$selectboxall[$field_full] = $field_v; $selectboxall[$field_full] = $field_v;
} }
} } // end while
} // end if (mysql_num_rows) } // end if (mysql_num_rows)
} }
} // end while over tables } // end while over tables