bug 721278

This commit is contained in:
Marc Delisle
2003-04-14 19:13:51 +00:00
parent aa717ef1bf
commit 5eae86494f
2 changed files with 2 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ $Source$
a reserved word in MySQL
* libraries/sqlparser.data.php3: bug 708887: MONTH() and YEAR()
are functions
* libraries/common.lib.php3: bug 721278: Skip Explain SQL
2003-04-14 Michal Cihar <nijel@users.sourceforge.net>
* lang/some translations: Damn, I didn't commit all empty translations

View File

@@ -1419,7 +1419,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
if (eregi('^SELECT[[:space:]]+', $GLOBALS['sql_query'])) {
$explain_link .= urlencode('EXPLAIN ' . $GLOBALS['sql_query']) . '">' . $GLOBALS['strExplain'];
} else if (eregi('^EXPLAIN[[:space:]]+SELECT[[:space:]]+', $GLOBALS['sql_query'])) {
$explain_link .= substr($GLOBALS['sql_query'], 8) . '">' . $GLOBALS['strNoExplain'];
$explain_link .= urlencode(substr($GLOBALS['sql_query'], 8)) . '">' . $GLOBALS['strNoExplain'];
} else {
$explain_link = '';
}