feat:[TD-31242]add new interface taos_get_column_data_null to get if raw data is null

This commit is contained in:
wangmm0220 2024-08-09 15:46:37 +08:00
parent e1b51fbdcb
commit e6787548fb
1 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,9 @@ void* consumeThreadFunc(void* param) {
//printf("taos_is_null gourp:%s cost %"PRId64" us\n", groupId, t2 - t1);
}
int64_t end = taosGetTimestampUs();
printf("taos_fetch_raw_block gourp:%s total rows:%d cost %"PRId64" us\n", groupId, totalRows, end - start);
bool* isNULL = taosMemoryCalloc(rows, sizeof(bool));
int code = taos_get_column_data_null(pRes, i, isNULL, rows);
printf("taos_fetch_raw_block gourp:%s total rows:%d cost %"PRId64" us, code:%d\n", groupId, totalRows, end - start, code);
}
taos_free_result(pRes);