提交 f9f34955 编写于 作者: H huili

[#1201]

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