From 3d866abd6fcb8025e17983ba2702e5e7d90cbd03 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 18 Jan 2023 22:04:53 +0800 Subject: [PATCH] add new schema --- include/common/tdataformat.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/common/tdataformat.h b/include/common/tdataformat.h index e0aacbfec9..2ef766bfc1 100644 --- a/include/common/tdataformat.h +++ b/include/common/tdataformat.h @@ -29,6 +29,7 @@ extern "C" { typedef struct SBuffer SBuffer; typedef struct SSchema SSchema; +typedef struct SSchema2 SSchema2; typedef struct STColumn STColumn; typedef struct STSchema STSchema; typedef struct SValue SValue; @@ -146,9 +147,9 @@ extern void (*tColDataCalcSMA[])(SColData *pColData, int64_t *sum, int64_t *max, int32_t tColDataAddValueByBind(SColData *pColData, TAOS_MULTI_BIND *pBind); void tColDataSortMerge(SArray *colDataArr); -//for raw block -int32_t tColDataAddValueByDataBlock(SColData *pColData, int8_t type, int32_t bytes, - int32_t nRows, char* lengthOrbitmap, char *data); +// for raw block +int32_t tColDataAddValueByDataBlock(SColData *pColData, int8_t type, int32_t bytes, int32_t nRows, char *lengthOrbitmap, + char *data); // for encode/decode int32_t tPutColData(uint8_t *pBuf, SColData *pColData); int32_t tGetColData(uint8_t *pBuf, SColData *pColData);