From 0c5cba19736bda012a088580070a93944f8d7239 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 3 Apr 2007 10:23:49 +0000 Subject: [PATCH] fix this kind of queries: select * from mytable where myid >= 1 --- libraries/sqlparser.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/sqlparser.lib.php b/libraries/sqlparser.lib.php index 8ac96c21d..de3c5dc25 100644 --- a/libraries/sqlparser.lib.php +++ b/libraries/sqlparser.lib.php @@ -518,9 +518,9 @@ if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) { // Checks for punct if (PMA_STR_strInStr($c, $allpunct_list)) { - //while (($count2 < $len) && PMA_STR_strInStr(PMA_substr($sql, $count2, 1), $allpunct_list)) { + while (($count2 < $len) && PMA_STR_strInStr(PMA_substr($sql, $count2, 1), $allpunct_list)) { $count2++; - //} + } $l = $count2 - $count1; if ($l == 1) { $punct_data = $c;