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);
|
int32_t tRowIterOpen(SRow *pRow, STSchema *pTSchema, SRowIter **ppIter);
|
||||||
void tRowIterClose(SRowIter **ppIter);
|
void tRowIterClose(SRowIter **ppIter);
|
||||||
SColVal *tRowIterNext(SRowIter *pIter);
|
SColVal *tRowIterNext(SRowIter *pIter);
|
||||||
SColVal *tRowIterMoveTo(SRowIter *pIter, int32_t iTColum);
|
|
||||||
|
|
||||||
// STag ================================
|
// STag ================================
|
||||||
int32_t tTagNew(SArray *pArray, int32_t version, int8_t isJson, STag **ppTag);
|
int32_t tTagNew(SArray *pArray, int32_t version, int8_t isJson, STag **ppTag);
|
||||||
|
|
|
@ -774,7 +774,7 @@ void tRowIterClose(SRowIter **ppIter) {
|
||||||
*ppIter = NULL;
|
*ppIter = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static SColVal *tRowIterGetValue(SRowIter *pIter) {
|
SColVal *tRowIterNext(SRowIter *pIter) {
|
||||||
if (pIter->iTColumn >= pIter->pTSchema->numOfCols) {
|
if (pIter->iTColumn >= pIter->pTSchema->numOfCols) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -896,25 +896,10 @@ static SColVal *tRowIterGetValue(SRowIter *pIter) {
|
||||||
}
|
}
|
||||||
|
|
||||||
_exit:
|
_exit:
|
||||||
|
pIter->iTColumn++;
|
||||||
return &pIter->cv;
|
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) {
|
static int32_t tRowNoneUpsertColData(SColData *aColData, int32_t nColData, int32_t flag) {
|
||||||
int32_t code = 0;
|
int32_t code = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue