提交 b57f66a9 编写于 作者: W wpan

fix case issue

上级 f49b4879
......@@ -1113,7 +1113,10 @@ int32_t filterConvertSetFromBinary(void **q, const char *buf, int32_t len, uint3
}
t = varDataLen(tmp);
pvar = varDataVal(tmp);
strntolower_s(pvar, pvar, t);
if (tolower) {
strntolower_s(pvar, pvar, (int32_t)t);
}
break;
}
case TSDB_DATA_TYPE_NCHAR: {
......
......@@ -66,7 +66,7 @@ class TDTestCase:
tdSql.checkData(0, 0, 12)
tdSql.query("select count(*) from st where t2 <> '' ")
tdSql.checkData(0, 0, 24)
tdSql.checkData(0, 0, 12)
tdSql.query("select count(*) from st where t3 is null")
tdSql.checkData(0, 0, 12)
......@@ -81,7 +81,7 @@ class TDTestCase:
tdSql.checkData(0, 0, 12)
tdSql.query("select count(*) from st where t3 <> '' ")
tdSql.checkData(0, 0, 24)
tdSql.checkData(0, 0, 12)
tdSql.query("select count(*) from st where c1 is not null")
tdSql.checkData(0, 0, 30)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册