提交 4ab60b2e 编写于 作者: weixin_48148422's avatar weixin_48148422 提交者: GitHub

Merge pull request #1202 from taosdata/feature/lihui

Feature/lihui
......@@ -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.
先完成此消息的编辑!
想要评论请 注册