fix(query): add return value.

This commit is contained in:
Haojun Liao 2022-11-25 23:09:31 +08:00
parent 86fda9f3da
commit 99ea0abffa
1 changed files with 2 additions and 2 deletions

View File

@ -504,9 +504,9 @@ int32_t taosGetCpuInstructions(char* sse42, char* avx, char* avx2, char* fma) {
// Ref to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77756
__cpuid_fix(7u, eax, ebx, ecx, edx);
*avx2 = (char) ((ebx & bit_AVX2) == bit_AVX2);
return 0;
#endif
return 0;
}
int32_t taosGetTotalMemory(int64_t *totalKB) {