Fix prepare stmt error 4016

This commit is contained in:
obdev
2024-02-09 21:02:22 +00:00
committed by ob-robot
parent 3bd554b0db
commit d509a8e875
3 changed files with 11 additions and 3 deletions

View File

@ -3539,7 +3539,11 @@ int ObNumber::to_sci_str_(ObString &num_str, char *buf,
}
buf[digit_start_pos] = '1';
buf[digit_start_pos + 1] = '.';
++pow_size;
if ('-' == pow_str[1]) {
--pow_size;
} else {
++pow_size;
}
}
}
}