This commit is contained in:
Hongze Cheng 2020-05-30 02:25:02 +00:00
parent fb5189834d
commit 540be24bd3
1 changed files with 18 additions and 18 deletions

View File

@ -245,7 +245,7 @@ pData
typedef struct {
int16_t colId; // column ID
int16_t colType;
uint16_t offset; //to store value for numeric col or offset for binary/Nchar
uint16_t offset; // to store value for numeric col or offset for binary/Nchar
} STagCol;
typedef struct {
@ -256,12 +256,12 @@ typedef struct {
STagCol tagCols[];
} STagRow;
#define tagColSize(r) (sizeof(STagCol) + r.colLen)
int tdSetTagCol(SDataRow row, void *value, int16_t len, int8_t type, int16_t colId); //insert tag value and update all the information
int tdSetTagCol(SDataRow row, void *value, int16_t len, int8_t type,
int16_t colId); // insert tag value and update all the information
int tdDeleteTagCol(SDataRow row, int16_t colId); // delete tag value and update all the information
void * tdQueryTagByID(SDataRow row, int16_t colId, int16_t *type); //if find tag, 0, else return -1;
void * tdQueryTagByID(SDataRow row, int16_t colId, int16_t *type); // if find tag, 0, else return -1;
int tdAppendTagColVal(SDataRow row, void *value, int8_t type, int32_t bytes, int16_t colId);
SDataRow tdTagRowDup(SDataRow row);
void tdFreeTagRow(SDataRow row);