build failed

This commit is contained in:
factosea 2024-07-08 23:22:41 +08:00
parent 28dc3c85ea
commit 3e320ebdf1
1 changed files with 2 additions and 1 deletions

View File

@ -3247,10 +3247,11 @@ static int32_t doHandleDiff(SDiffInfo* pDiffInfo, int32_t type, const char* pv,
tryToSetInt64(pDiffInfo, pOutput, v, pos); tryToSetInt64(pDiffInfo, pOutput, v, pos);
break; break;
} }
case TSDB_DATA_TYPE_USMALLINT: case TSDB_DATA_TYPE_USMALLINT:{
int64_t v = *(uint16_t*)pv; int64_t v = *(uint16_t*)pv;
tryToSetInt64(pDiffInfo, pOutput, v, pos); tryToSetInt64(pDiffInfo, pOutput, v, pos);
break; break;
}
case TSDB_DATA_TYPE_SMALLINT: { case TSDB_DATA_TYPE_SMALLINT: {
int64_t v = *(int16_t*)pv; int64_t v = *(int16_t*)pv;
tryToSetInt64(pDiffInfo, pOutput, v, pos); tryToSetInt64(pDiffInfo, pOutput, v, pos);