undefined is_analyse
This commit is contained in:
@@ -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;
|
||||
|
3
sql.php3
3
sql.php3
@@ -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));
|
||||
|
Reference in New Issue
Block a user