fix this kind of queries: select * from mytable where myid >= 1

This commit is contained in:
Marc Delisle
2007-04-03 10:19:33 +00:00
parent f9948b6848
commit 6b2b01b80c

View File

@@ -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;