提交 04fb064e 编写于 作者: H Haojun Liao

[TD-225]fix bugs in regression test.

上级 f5aa1d3c
...@@ -235,7 +235,7 @@ bool notEqualOperator(SColumnFilterElem *pFilter, const char *minval, const char ...@@ -235,7 +235,7 @@ bool notEqualOperator(SColumnFilterElem *pFilter, const char *minval, const char
} }
return strncmp((char *)pFilterInfo->pz, varDataVal(minval), varDataLen(minval)) != 0; return strncmp((char *)pFilterInfo->pz, varDataVal(minval), varDataLen(minval)) != 0;
} else if (type == TSDB_DATA_TYPE_NCHAR) { } else if (type == TSDB_DATA_TYPE_NCHAR) {
if (pFilterInfo->len != pFilter->bytes) { if (pFilterInfo->len != varDataLen(minval)) {
return true; return true;
} }
return wcsncmp((wchar_t *)pFilterInfo->pz, varDataVal(minval), varDataLen(minval)/TSDB_NCHAR_SIZE) != 0; return wcsncmp((wchar_t *)pFilterInfo->pz, varDataVal(minval), varDataLen(minval)/TSDB_NCHAR_SIZE) != 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册