fix(udf1): use 1 as luck number to make new gcc happy

This commit is contained in:
Minglei Jin 2023-04-11 16:52:56 +08:00
parent e3c6f0da24
commit 9961f82479
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ DLL_EXPORT int32_t udf1(SUdfDataBlock *block, SUdfColumn *resultCol) {
}
}
if (j == block->numOfCols) {
int32_t luckyNum = 88;
int32_t luckyNum = 1;
udfColDataSet(resultCol, i, (char *)&luckyNum, false);
}
}
@ -43,4 +43,4 @@ DLL_EXPORT int32_t udf1(SUdfDataBlock *block, SUdfColumn *resultCol) {
Sleep(1);
#endif
return 0;
}
}