bug 905066

This commit is contained in:
Marc Delisle
2004-02-26 16:49:24 +00:00
parent be09c5b87c
commit 5b74413834
2 changed files with 4 additions and 0 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-02-26 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sqlparser.lib.php: bug 905066, memory eater, thanks to xuefer
2004-02-24 Marc Delisle <lem9@users.sourceforge.net>
* pdf_pages.php: bug 903450, typo
* tbl_row_delete.php: bug 878995: mult_submits.inc.php should not be

View File

@@ -267,6 +267,7 @@ if ($is_minimum_common == FALSE) {
// ANSI style --
if (($c == '#')
|| (($count2 + 1 < $len) && ($c == '/') && ($sql[$count2 + 1] == '*'))
|| (($count2 + 2 == $len) && ($c == '-') && ($sql[$count2 + 1] == '-'))
|| (($count2 + 2 < $len) && ($c == '-') && ($sql[$count2 + 1] == '-') && (($sql[$count2 + 2] == ' ') || ($sql[$count2 + 2] == "\n")))) {
$count2++;
$pos = 0;