add an interface

This commit is contained in:
Hongze Cheng 2022-11-24 16:55:06 +08:00
parent 504fd15297
commit b96d948539
2 changed files with 6 additions and 0 deletions

View File

@ -87,6 +87,7 @@ int32_t tBufferReserve(SBuffer *pBuffer, int64_t nData, void **ppData);
int32_t tRowBuild(SArray *aColVal, STSchema *pTSchema, SRow **ppRow);
void tRowGet(SRow *pRow, STSchema *pTSchema, int32_t iCol, SColVal *pColVal);
void tRowDestroy(SRow *pRow);
int32_t tRowMergeSort(SArray *aRow, STSchema *pTSchema);
// SRowIter ================================
int32_t tRowIterOpen(SRow *pRow, STSchema *pTSchema, SRowIter **ppIter);

View File

@ -492,6 +492,11 @@ void tRowGet(SRow *pRow, STSchema *pTSchema, int32_t iCol, SColVal *pColVal) {
void tRowDestroy(SRow *pRow) { tFree((uint8_t *)pRow); }
int32_t tRowMergeSort(SArray *aRow, STSchema *pTSchema) {
// todo
return 0;
}
// SRowIter ========================================
struct SRowIter {
SRow *pRow;