Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbUpdateFixedStringPadding

Update the table pad, delimiter character resource, and fixed string termination strategy. The table must be opened in exclusive mode to update the resource.

Declaration

CTDBRET ctdbDECL ctdbUpdateFixedStringPadding(CTHANDLE Handle, NINT padchar, NINT dlmchar, CTBOOL fstringterm)

Parameters

  • Handle [in] the Table Handle.
  • padchar [in] the pad character
  • dmlchar [in] the field delimiter character.
  • fstringterm [in] if YES, fixed string fields will be terminated with dmlchar in the defined len. If NO, fixed string fields will be terminated only if they do not already consume the entire defined len.

Returns

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

See also

ctdbUpdatePadChar(), ctdbSetPadChar(), ctdbGetPadChar()

TOCIndex