From 6b2b01b80c3c8509af4ab10aeb95e2a7fdd77f93 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 3 Apr 2007 10:19:33 +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 30041324b..fe749de73 100644 --- a/libraries/sqlparser.lib.php +++ b/libraries/sqlparser.lib.php @@ -539,9 +539,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;