fix[TS-5812]:add params check
This commit is contained in:
parent
25dc5d7b5c
commit
bfe0f143da
|
@ -449,7 +449,7 @@ static void checkTSRow(const char **data, STSRow *row, STSchema *pTSchema) {
|
||||||
checkSColVal(data[i], &colVal, pCol->type);
|
checkSColVal(data[i], &colVal, pCol->type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifndef WINDOWS
|
||||||
TEST(testCase, tColDataGetValue) {
|
TEST(testCase, tColDataGetValue) {
|
||||||
SColData pColData = {0};
|
SColData pColData = {0};
|
||||||
SColVal pColVal = {0};
|
SColVal pColVal = {0};
|
||||||
|
@ -462,6 +462,7 @@ TEST(testCase, tColDataGetValue) {
|
||||||
pColData = {.nVal = 1, .flag = 8};
|
pColData = {.nVal = 1, .flag = 8};
|
||||||
ASSERT_NE(tColDataGetValue(&pColData, 0, &pColVal),0);
|
ASSERT_NE(tColDataGetValue(&pColData, 0, &pColVal),0);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
TEST(testCase, AllNormTest) {
|
TEST(testCase, AllNormTest) {
|
||||||
int16_t nCols = 14;
|
int16_t nCols = 14;
|
||||||
|
|
Loading…
Reference in New Issue