Skip to content

STMT.row_bind_offset is encoded in 32-bit #120

@lpoulain

Description

@lpoulain

In hstmt.h, STMT.row_bind_offset is encoded as a SQLUINTEGER which is 32-bit. This can cause some issue for calls to SQLSetStmtAttr(SQL_ATTR_ROW_BIND_OFFSET_PTR) on 64-bit platforms as a 64-bit pointer gets cast into a 32-bit value, as seen in odbc3.c:

stmt->row_bind_offset = (SQLUINTEGER) (SQLULEN) ValuePtr;

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