enh: remove unused code
This commit is contained in:
parent
b79dda6689
commit
9367be016d
|
@ -142,7 +142,6 @@ int32_t tRowKeyAssign(SRowKey *pDst, SRowKey *pSrc);
|
|||
int32_t tRowIterOpen(SRow *pRow, STSchema *pTSchema, SRowIter **ppIter);
|
||||
void tRowIterClose(SRowIter **ppIter);
|
||||
SColVal *tRowIterNext(SRowIter *pIter);
|
||||
SColVal *tRowIterMoveTo(SRowIter *pIter, int32_t iTColum);
|
||||
|
||||
// STag ================================
|
||||
int32_t tTagNew(SArray *pArray, int32_t version, int8_t isJson, STag **ppTag);
|
||||
|
|
|
@ -774,7 +774,7 @@ void tRowIterClose(SRowIter **ppIter) {
|
|||
*ppIter = NULL;
|
||||
}
|
||||
|
||||
static SColVal *tRowIterGetValue(SRowIter *pIter) {
|
||||
SColVal *tRowIterNext(SRowIter *pIter) {
|
||||
if (pIter->iTColumn >= pIter->pTSchema->numOfCols) {
|
||||
return NULL;
|
||||
}
|
||||
|
@ -896,25 +896,10 @@ static SColVal *tRowIterGetValue(SRowIter *pIter) {
|
|||
}
|
||||
|
||||
_exit:
|
||||
pIter->iTColumn++;
|
||||
return &pIter->cv;
|
||||
}
|
||||
|
||||
SColVal* tRowIterNext(SRowIter *pIter) {
|
||||
SColVal* pColVal = tRowIterGetValue(pIter);
|
||||
if (pColVal) {
|
||||
pIter->iTColumn++;
|
||||
}
|
||||
return pColVal;
|
||||
}
|
||||
|
||||
SColVal *tRowIterMoveTo(SRowIter *pIter, int32_t iTColum) {
|
||||
pIter->iTColumn = iTColum;
|
||||
if (pIter->iTColumn < 0 || pIter->iTColumn >= pIter->pTSchema->numOfCols) {
|
||||
return NULL;
|
||||
}
|
||||
return tRowIterGetValue(pIter);
|
||||
}
|
||||
|
||||
static int32_t tRowNoneUpsertColData(SColData *aColData, int32_t nColData, int32_t flag) {
|
||||
int32_t code = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue