bug 747451

This commit is contained in:
Marc Delisle
2003-06-02 17:12:39 +00:00
parent 1badc1477a
commit 3b75b77733
2 changed files with 3 additions and 1 deletions

View File

@@ -26,6 +26,8 @@ $Source$
2003-06-02 Marc Delisle <lem9@users.sourceforge.net>
### 2.5.1 released
* (not in 2.5.1) sql.php3: bug 747451, incorrect detection of
PROCEDURE ANALYSE()
2003-06-02 Alexander M. Turek <rabus@users.sourceforge.net>
* Happy Birthday to me :-)

View File

@@ -232,7 +232,7 @@ else {
$is_func = !$is_group && (eregi('[[:space:]]+(SUM|AVG|STD|STDDEV|MIN|MAX|BIT_OR|BIT_AND)\s*\(', $sql_query));
$is_count = !$is_group && (eregi('^SELECT[[:space:]]+COUNT\((.*\.+)?.*\)', $sql_query));
$is_export = (eregi('[[:space:]]+INTO[[:space:]]+OUTFILE[[:space:]]+', $sql_query));
$is_analyse = (eregi('[[:space:]]+PROCEDURE[[:space:]]+ANALYSE\(', $sql_query));
$is_analyse = (eregi('[[:space:]]+PROCEDURE[[:space:]]+ANALYSE', $sql_query));
} else if (eregi('^EXPLAIN[[:space:]]+', $sql_query)) {
$is_explain = TRUE;
} else if (eregi('^DELETE[[:space:]]+', $sql_query)) {