提交 99ea0abf 编写于 作者: H Haojun Liao

fix(query): add return value.

上级 86fda9f3
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册