Views are not exportable yet
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-02-16 Alexander M. Turek <me@derrabus.de>
|
||||||
|
* db_details_export.php: Views are not exportable yet.
|
||||||
|
|
||||||
2005-02-14 Michal Čihař <michal@cihar.com>
|
2005-02-14 Michal Čihař <michal@cihar.com>
|
||||||
* tbl_printview.php, libraries/tbl_indexes.lib.php: Fix displaying
|
* tbl_printview.php, libraries/tbl_indexes.lib.php: Fix displaying
|
||||||
indexes for print view, use same function as for normal view (bug
|
indexes for print view, use same function as for normal view (bug
|
||||||
|
@@ -24,8 +24,11 @@ if ($num_tables > 1) {
|
|||||||
$multi_values = '<div align="center"><select name="table_select[]" size="6" multiple="multiple">';
|
$multi_values = '<div align="center"><select name="table_select[]" size="6" multiple="multiple">';
|
||||||
$multi_values .= "\n";
|
$multi_values .= "\n";
|
||||||
|
|
||||||
$i = 0;
|
for ($i = 0; $i < $num_tables; $i++) {
|
||||||
while ($i < $num_tables) {
|
if (PMA_MYSQL_INT_VERSION >= 50000 && is_null($tables[$i]['Engine'])) {
|
||||||
|
// Don't offer to export views yet.
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$table = $tables[$i]['Name'];
|
$table = $tables[$i]['Name'];
|
||||||
if (!empty($selectall) || (isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $table . '|'))) {
|
if (!empty($selectall) || (isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $table . '|'))) {
|
||||||
$is_selected = ' selected="selected"';
|
$is_selected = ' selected="selected"';
|
||||||
@@ -34,8 +37,7 @@ if ($num_tables > 1) {
|
|||||||
}
|
}
|
||||||
$table = htmlspecialchars($table);
|
$table = htmlspecialchars($table);
|
||||||
$multi_values .= ' <option value="' . $table . '"' . $is_selected . '>' . $table . '</option>' . "\n";
|
$multi_values .= ' <option value="' . $table . '"' . $is_selected . '>' . $table . '</option>' . "\n";
|
||||||
$i++;
|
} // end for
|
||||||
} // end while
|
|
||||||
$multi_values .= "\n";
|
$multi_values .= "\n";
|
||||||
$multi_values .= '</select></div>';
|
$multi_values .= '</select></div>';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user