Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.3.1 |  CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

cci_blob_write

Description

This function reads LOB data as long as the value of length from start_pos in LOB data file, stores the value in buf, and then returns it.

Syntax

int cci_blob_read(int conn_handle, T_CCI_BLOB blob, long start_pos, int length, const char *buf, T_CCI_ERROR* error_buf)

  • conn_handle : (IN) Connection handle
  • blob : (IN) LOB Locator
  • start_pos : (IN) Index location of LOB data file
  • length : (IN) Data length from buffer
  • error_buf : (OUT) Error buffer
Return Value
  • Size of read value (> = : success)
  • Error code (0 : success)
Error Code
  • CCI_ER_INVALID_LOB_READ_POS
  • CCI_ER_CON_HANDLE
  • CCI_ER_CONNECT
  • CCI_ER_COMMUNICATION
  • CCI_ER_NO_MORE_MEMORY
  • CCI_ER_DBMS