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

This commit is contained in:
Marc Delisle
2007-04-03 10:23:49 +00:00
parent 9c35a215cd
commit 0c5cba1973

View File

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