better fix from Loic
This commit is contained in:
@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2002-07-15 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* db_details_export.php3, db_details_links.php3, Documentation.html,
|
||||||
|
sql.php3, tbl_properties_export.php3, libraries/common.lib.php3,
|
||||||
|
libraries/select_lang.lib.php3: fixes from Loic
|
||||||
|
|
||||||
2002-07-14 Marc Delisle <lem9@users.sourceforge.net>
|
2002-07-14 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* Documentation.html, db_details_exports.php3, tbl_properties_export.php3:
|
* Documentation.html, db_details_exports.php3, tbl_properties_export.php3:
|
||||||
add a link to a new faq entry explaining some dump options
|
add a link to a new faq entry explaining some dump options
|
||||||
|
@@ -1207,8 +1207,7 @@ if (typeof(document.getElementById) != 'undefined'
|
|||||||
}
|
}
|
||||||
// Want to have the query explained (Mike Beck 2002-05-22)
|
// Want to have the query explained (Mike Beck 2002-05-22)
|
||||||
// but only explain a SELECT (that has not been explained)
|
// but only explain a SELECT (that has not been explained)
|
||||||
if (!eregi('^EXPLAIN[[:space:]]+', $GLOBALS['sql_query'])
|
if (eregi('^SELECT[[:space:]]+', $GLOBALS['sql_query'])) {
|
||||||
&& eregi('SELECT[[:space:]]+', $GLOBALS['sql_query'])) {
|
|
||||||
$explain_link = '[<a href="sql.php3'
|
$explain_link = '[<a href="sql.php3'
|
||||||
. $url_qpart
|
. $url_qpart
|
||||||
. '&sql_query=' . urlencode('EXPLAIN ' . $GLOBALS['sql_query']) . '">' . $GLOBALS['strExplain'] . '</a>] ';
|
. '&sql_query=' . urlencode('EXPLAIN ' . $GLOBALS['sql_query']) . '">' . $GLOBALS['strExplain'] . '</a>] ';
|
||||||
|
Reference in New Issue
Block a user