Skip to content

Commit

Permalink
test: chinese in sql
Browse files Browse the repository at this point in the history
  • Loading branch information
huskar-t committed Jan 7, 2025
1 parent be3b15e commit 3c7b0e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Driver.Test/Client/Query/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public Client(ITestOutputHelper output)
}

sql = string.Format(
"values({0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},'test_binary','test_nchar','test_varbinary','POINT(100 100)')({12},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null)",
"values({0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},'test_binary','test_nchar','中文','POINT(100 100)')({12},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null)",
ts,
v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11,
nextSecond);
Expand All @@ -87,7 +87,7 @@ public Client(ITestOutputHelper output)
{
TDengineConstant.ConvertTimeToDatetime(ts, precision), v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11,
Encoding.UTF8.GetBytes("test_binary"),
"test_nchar", Encoding.UTF8.GetBytes("test_varbinary"),
"test_nchar", Encoding.UTF8.GetBytes("中文"),
new byte[]
{
0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x59, 0x40, 0x00, 0x00,
Expand Down

0 comments on commit 3c7b0e2

Please sign in to comment.