mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
remove dbg
This commit is contained in:
parent
13639899a5
commit
2e38aa1d6b
2 changed files with 0 additions and 11 deletions
10
core/util.rs
10
core/util.rs
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue