Marc Delisle schrieb:
Sebastian Mendel a écrit :
Sebastian Mendel schrieb:
Hi,
just curious about
$is_hex_digit = ($is_digit) && ($c == '.') && ($c == '0') && ($count2 < $len) && (PMA_substr($sql, $count2, 1) == 'x');
on line #392
how can $c be '.' AND '0' ???
Revision: 7554 Author: nijel Date: 20:50:45, Freitag, 14. Oktober 2005 Message: Handle correctly float like .01 (bug #1252713).
Modified : /trunk/phpMyAdmin/ChangeLog Modified : /trunk/phpMyAdmin/libraries/sqlparser.lib.php
This would do a better job:
$is_hex_digit = ($is_digit) && ($c == '0') && ($count2 < $len) && (PMA_substr($sql, $count2, 1) == 'x');
yes - this is the original code - i do not know why this was changed - possible micha could make it clear