Product Documentation

c-treeACE V10.3 Update Guide

Previous Topic

Next Topic

ctOpenSequence() returns NO_ERROR when specified sequence does not exist

A call to the c-treeACE ISAM API ctOpenSequence() specifying the name of a sequence that does not exist returns NO_ERROR. The logic has been corrected so that such a call now returns SEQNAM_ERR (as documented).

Previous Topic

Next Topic

ctSETENCRYPT - Passing a NULL to disable encryption

Passing a NULL value for the key parameter to ctSETENCRYPT was inadvertently resetting keylen to 0, which was disabling encryption. In V10.3 and later, the code in the client library interface to ctSETENCRYPT() has been changed so that it is consistent with the following definition:

In the ctSETENCRYPT() function, keylen > 0 enables encryption for all files created after that point, and keylen <= 0 disables encryption. This is true regardless of whether key is NULL or not.

Note: A non-NULL key is required when a call to ctSETENCRYPT() is made that enables basic encryption; key is ignored when using Advanced Encryption.

TOCIndex