}
}
-$table_name = $adminer->tableName(table_status($TABLE, true));
+$table_name = $adminer->tableName(table_status1($TABLE, true));
page_header(
($update ? lang('Edit') : lang('Insert')),
$error,
echo '<input type="hidden" name="username" value="' . h($_GET["username"]) . '">';
}
+/** Get status of a single table and fall back to name on error
+* @param string
+* @param bool
+* @return array
+*/
+function table_status1($table, $fast = false) {
+ $return = table_status($table, $fast);
+ return ($return ? $return : array("Name" => $table));
+}
+
/** Find out foreign keys for each column
* @param string
* @return array array($col => array())
<?php
$TABLE = $_GET["select"];
-$table_status = table_status($TABLE);
+$table_status = table_status1($TABLE);
$indexes = indexes($TABLE);
$fields = fields($TABLE);
$foreign_keys = column_foreign_keys($TABLE);
if (!$fields) {
$error = error();
}
-$table_status = table_status($TABLE, true);
+$table_status = table_status1($TABLE, true);
page_header(($fields && is_view($table_status) ? lang('View') : lang('Table')) . ": " . h($TABLE), $error);
Verify UTF-8 encoding of CSV import
Notify user about expired master password for permanent login
Send 404 for invalid database and schema
+Fix title and links on invalid table pages
MySQL: Speed up updating rows without numeric or UTF-8 primary key
PostgreSQL: Fix detecting oid column in PDO
PostgreSQL: Handle timestamp types (bug #3614086)