Skip to content

[BUG] Actian/Pervasive cursor fails with specific queries following upgrade from 2.4.7 #489

Description

@NGrey5

Describe your system

  • odbc Package Version: 2.5.0
  • ODBC Driver: Pervasive ODBC Interface
  • Database Name: Actian Zen / Pervasive
  • Database Version: 14
  • Database OS: Windows Server 2019
  • Node.js Version: 24.18.0
  • Node.js OS: Windows 11

Describe the bug
Following an upgrade of odbc from version 2.4.7 , cursors for some queries are resulting in the following error:

[Zen][ODBC Client Interface][LNA][Zen][SQL Engine]Invalid cursor position; no keyset defined.

After looking through the commit history, I saw that 2.4.8 removed the setting of static cursor mode to increase performance. This is not playing nice with this database. Do we have the option to add the specification of a cursor mode?

Expected behavior
Query to successfully run within a cursor

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