This commit is contained in:
Robin Johnson
2002-08-12 18:58:55 +00:00
parent 48e8536d06
commit 8ea92fb4f1
2 changed files with 7 additions and 3 deletions

View File

@@ -398,7 +398,7 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
$count2 ++;
$is_sql_variable = ($c == '@');
$is_digit = (!$is_sql_variable) && PMA_STR_isDigit($c);
$is_hex_digit = ($is_digit) && ($c == '0') && ($sql[$count2] == 'x');
$is_hex_digit = ($is_digit) && ($c == '0') && ($count2 < $len) && ($sql[$count2] == 'x');
$is_float_digit = FALSE;
$is_float_digit_exponent = FALSE;