Skip to content

Question about offset types #82

@m-vze

Description

@m-vze

Thank you for this crate, currently testing it out for our use case.
I have a question about the types used for xRead/xWrite/xFetch/xUnfetch offsets. In the SQLite C interface they're all documented as sqlite3_int64, but in this crate, only fetch/unfetch use an i64 while read/write try casting into a usize (e.g. here), failing if it doesn't fit.
Is this intended behaviour or an oversight?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions