remove dbg

This commit is contained in:
pedrocarlo 2025-02-20 16:09:39 -03:00
parent 13639899a5
commit 2e38aa1d6b
2 changed files with 0 additions and 11 deletions

View file

@ -540,16 +540,6 @@ pub fn text_to_real(text: &str) -> (OwnedValue, CastTextToRealResultCode) {
}
}
dbg!(
&has_decimal_separator,
&sign,
&exp_sign,
&has_exponent,
&has_digit,
&has_decimal_digit,
&excess_space
);
if let Ok(num) = accum.parse::<f64>() {
if !has_decimal_separator && !exp_sign && !has_exponent && !excess_space {
return (OwnedValue::Float(num), CastTextToRealResultCode::PureInt);

View file

@ -3676,7 +3676,6 @@ fn checked_cast_text_to_numeric(text: &str) -> std::result::Result<OwnedValue, (
fn cast_text_to_numeric(text: &str) -> OwnedValue {
let (real_cast, rc_real) = cast_text_to_real(text);
let (int_cast, rc_int) = cast_text_to_integer(text);
dbg!(&real_cast, &rc_real, &int_cast, &rc_int);
match (rc_real, rc_int) {
(
CastTextToRealResultCode::NotValid,