Fix query history displaying (bug #1374639).
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-12-13 Michal Čihař <michal@cihar.com>
|
||||||
|
* querywindow.php: Fix query history displaying (bug #1374639).
|
||||||
|
|
||||||
2005-12-12 Michal Čihař <michal@cihar.com>
|
2005-12-12 Michal Čihař <michal@cihar.com>
|
||||||
* scripts/setup.php: Use same format of version file as in upgrade.pl.
|
* scripts/setup.php: Use same format of version file as in upgrade.pl.
|
||||||
|
|
||||||
|
@@ -213,8 +213,8 @@ if ( $GLOBALS['cfg']['QueryHistoryDB'] && $cfgRelation['historywork'] ) {
|
|||||||
foreach ($query_history AS $query_no => $query_sql) {
|
foreach ($query_history AS $query_no => $query_sql) {
|
||||||
if ( ! isset( $_input_query_history[$query_sql] ) ) {
|
if ( ! isset( $_input_query_history[$query_sql] ) ) {
|
||||||
$_input_query_history[$query_sql] = array(
|
$_input_query_history[$query_sql] = array(
|
||||||
'db' => $query_history_db,
|
'db' => $query_history_db[$query_no],
|
||||||
'table' => isset($query_history_table) ? $query_history_table : '',
|
'table' => isset($query_history_table[$query_no]) ? $query_history_table[$query_no] : '',
|
||||||
);
|
);
|
||||||
$_sql_history[$query_sql] = array(
|
$_sql_history[$query_sql] = array(
|
||||||
'db' => $query_history_db[$query_no],
|
'db' => $query_history_db[$query_no],
|
||||||
|
Reference in New Issue
Block a user