bug 747451
This commit is contained in:
@@ -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 :-)
|
||||
|
2
sql.php3
2
sql.php3
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user