提交 27273faa 编写于 作者: A Alex Duan

[TS-207]<fix>(query): fix java case for three

上级 2cf4ad01
......@@ -1135,7 +1135,7 @@ public class JsonTagTest {
}
Assert.assertEquals(8, count);
Assert.assertEquals("\"femail\"", s);
Assert.assertEquals("\"收到货\"", s);
close(resultSet);
}
......
......@@ -1146,7 +1146,7 @@ public class WSJsonTagTest {
}
Assert.assertEquals(8, count);
Assert.assertEquals("\"femail\"", s);
Assert.assertEquals("\"收到货\"", s);
close(resultSet);
}
......
......@@ -93,9 +93,9 @@ int32_t twcslen(const wchar_t *wcs) {
}
int32_t tasoUcs4Compare(void *f1_ucs4, void *f2_ucs4, int32_t bytes) {
for (int32_t i = 0; i < bytes; i+=4) {
int32_t f1 = *(int32_t *)((char *)f1_ucs4 + i * 4);
int32_t f2 = *(int32_t *)((char *)f2_ucs4 + i * 4);
for (int32_t i = 0; i < bytes; i += TSDB_NCHAR_SIZE) {
int32_t f1 = *(int32_t *)((char *)f1_ucs4 + i);
int32_t f2 = *(int32_t *)((char *)f2_ucs4 + i);
if ((f1 == 0 && f2 != 0) || (f1 != 0 && f2 == 0)) {
return f1 - f2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册