Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbSetIndexEmptyChar

Set the empty char property for the index

Declaration

CTDBRET ctdbSetIndexEmptyChar(CTHANDLE Handle, NINT EmptyChar)

Description

ctdbSetIndexEmptyChar() sets the empty char property for this index. Use ctdbGetIndexEmptyChar() to retrieve the empty char property for this index. The empty char property is expressed as the decimal equivalent of the ASCII table. For instance, an ASCII space is specified a value of 32, and NULL byte is specified as 0.

  • Handle [in] the index handle.
  • EmptyChar [in] the empty char value.

Returns

ctdbSetIndexEmptyChar() returns CTDBRET_OK on success, or FairCom DB API C API error on failure.

See also

ctdbAllocIndex(), ctdbGetIndexEmptyChar()

TOCIndex