Skip to content

ORA-03137 with scrollable Statements and dpiStmt_execute DPI_MODE_EXEC_DESCRIBE_ONLY #202

@unficyp

Description

@unficyp
  1. What version of ODPI-C are you using (see dpi.h)?
    5.6.2

  2. What OS (and version) is your application on?
    Linux/Manjaro

  3. What compiler (and version) did you use?
    g++ 15.2.1

  4. What is your version of the Oracle Client (e.g. Instant Client)? How was it installed? Where it is installed?
    Instantclient 23.9.0.25.7

  5. What is your Oracle Database version?
    19.26

  6. What is the PATH environment variable (on Windows) or LD_LIBRARY_PATH (on Linux) set to?
    /home/oracle/instantclient_23_9

  7. What environment variables did you set? How exactly did you set them?
    none

  8. What problem or error(s) you are seeing?
    running test gives
    ORA-03137: malformed TTC packet from client rejected: [kpoal8Check-8] [428032] [32898] [] [] [] [] []

when scrollable is set to 1 in dpiConn_prepareStmt and statement is only described with mode DPI_MODE_EXEC_DESCRIBE_ONLY in dpiStmt_execute

  1. Do you have a runnable code snippet to describe the problem?
    please see attached source

test_for_issue_202.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpatch availableAwaiting inclusion in official release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions