Fix prepare stmt error 4016

This commit is contained in:
obdev
2024-01-22 09:42:40 +00:00
committed by ob-robot
parent b3c59d1dc5
commit 7acad5e931
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;
}
}
}
}