undefined is_analyse

This commit is contained in:
Marc Delisle
2002-05-24 12:54:55 +00:00
parent c20ecc7900
commit cb690c62ca
2 changed files with 2 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ $Source$
2002-05-24 Marc Delisle <lem9@users.sourceforge.net>
* lang/*.php3, libraries/common.lib.php3: new features EXPLAIN
and "Create PHP Code", thanks to Mike Beck
* sql.php3: $is_analyse was sometimes undefined
2002-05-24 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* config.inc.php3; db_details_links.php3; db_search.php3;

View File

@@ -1,7 +1,6 @@
<?php
/* $Id$ */
/**
* Gets some core libraries
*/
@@ -206,7 +205,7 @@ else {
$repeat_cells = $cfg['RepeatCells'];
}
$is_explain = $is_count = $is_export = $is_delete = $is_insert = $is_affected = $is_show = $is_maint = FALSE;
$is_explain = $is_count = $is_export = $is_delete = $is_insert = $is_affected = $is_show = $is_maint = $is_analyse = FALSE;
if ($is_select) { // see line 76
$is_count = (eregi('^SELECT[[:space:]]+COUNT\((.*\.+)?.*\)', $sql_query));
$is_export = (eregi('[[:space:]]+INTO[[:space:]]+OUTFILE[[:space:]]+', $sql_query));