fix[TS-5812]:add params check

This commit is contained in:
wangmm0220 2024-12-25 19:34:58 +08:00
parent 25dc5d7b5c
commit bfe0f143da
1 changed files with 2 additions and 1 deletions

View File

@ -449,7 +449,7 @@ static void checkTSRow(const char **data, STSRow *row, STSchema *pTSchema) {
checkSColVal(data[i], &colVal, pCol->type);
}
}
#ifndef WINDOWS
TEST(testCase, tColDataGetValue) {
SColData pColData = {0};
SColVal pColVal = {0};
@ -462,6 +462,7 @@ TEST(testCase, tColDataGetValue) {
pColData = {.nVal = 1, .flag = 8};
ASSERT_NE(tColDataGetValue(&pColData, 0, &pColVal),0);
}
#endif
TEST(testCase, AllNormTest) {
int16_t nCols = 14;