Skip to content

Use -64 versions of some interfaces #387

@rogerbinns

Description

@rogerbinns

Since some bits of apsw were written, SQLite has added -64 suffixed versions of some functions. These involved blobs and strings etc. SQLite still remains limited to 2GB for those. APSW used SQLite APIs of the time which used 32 bit sizes, so APSW did the work of making sure the values did not exceed 2GB. Switching to the -64 versions means code can be deleted from APSW and lets SQLite do the size checking work.

  • sqlite3_bind_blob64
  • sqlite3_bind_text64
  • sqlite3_bind_zeroblob64
  • sqlite3_result_blob64
  • sqlite3_result_text64
  • sqlite3_result_zeroblob64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions