Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetRecordCount behavior on MRT Table modified

In V11.5, the behavior of the c-treeDB API function ctdbGetRecordCount has been modified when used on Multi-Schema Tables (MRT Virtual Tables). When used on MRT Tables, ctdbGetRecordCount() used to fail with error code CTDBRET_NOTYET.

The behavior on MRT Tables has been changed as follows:

  1. return the error CTDBRET_ISVTABLE (4155)
  2. set the pCount to the number of total entries in the physical table.

The effect of this change is to return an error as before, although more specific, and also return the number of records in the physical table.

Note: This is a Compatibility Change.

TOCIndex