Skip to content

Panic on overflowing integer #12

@5225225

Description

@5225225

Reproduction code

fn main() {
    use sqlformat::*;

    format("?62666666121266666612", &QueryParams::None, FormatOptions::default());
}

Where it fails:

let index = token[1..].parse::<usize>().unwrap();

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions