提交 58c9fafa 编写于 作者: H huili

[#1201]

上级 4ab60b2e
......@@ -976,15 +976,21 @@ void assignVal(char *val, const char *src, int32_t len, int32_t type) {
break;
}
case TSDB_DATA_TYPE_FLOAT: {
#ifdef _TD_ARM_32_
float fv = GET_FLOAT_VAL(src);
SET_FLOAT_VAL_ALIGN(val, &fv);
//*((float *)val) = GET_FLOAT_VAL(src);
#else
*((float *)val) = GET_FLOAT_VAL(src);
#endif
break;
};
case TSDB_DATA_TYPE_DOUBLE: {
#ifdef _TD_ARM_32_
double dv = GET_DOUBLE_VAL(src);
SET_DOUBLE_VAL_ALIGN(val, &dv);
//*((double *)val) = GET_DOUBLE_VAL(src);
#else
*((double *)val) = GET_DOUBLE_VAL(src);
#endif
break;
};
case TSDB_DATA_TYPE_TIMESTAMP:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册