MySQL NDB API Error Code 4259: "Invalid set of range scan bounds"

(Doc ID 2090558.1)

Last updated on FEBRUARY 02, 2017

Applies to:

MySQL Cluster - Version 7.2 and later
Information in this document applies to any platform.


Trying to perform NDBATTR type indexScan results in

Error in testIndexScan.cpp, line: 356, code: 4259, msg: Invalid set of range scan bounds.

The issue can be reproduced at will with the following steps:

  1. Use the following code     
  2. Compile the code
  3. Execute the code and observe the error


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms