rpmoseley / pyisam

C-ISAM/VBISAM interface using ctypes or cffi
GNU General Public License v3.0
4 stars 1 forks source link

Record order mismatch between ctypes and cffi #3

Open rpmoseley opened 3 weeks ago

rpmoseley commented 3 weeks ago

The operation of the package is incorrect when there is an attempt to make use of record number as the index.

Under ctypes, it will return the first record of the underlying data file, even though the correct record number is reported, and no error is raised by the underlying ISAM functions. Under cffi the package will raise an exception as there is no way of creating a keydesc object without an existing ISAM key, a record number key is identified as having no parts.