bug 721278
This commit is contained in:
@@ -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
|
||||
|
@@ -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 = '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user