From 0f7bbc8a4db1d6e2e5f1969d081e8bab0844630c Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Fri, 15 Dec 2023 12:06:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/IoTSharp.Data.Taos/Protocols/TDWebSocket/TaosWebSocket.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IoTSharp.Data.Taos/Protocols/TDWebSocket/TaosWebSocket.cs b/src/IoTSharp.Data.Taos/Protocols/TDWebSocket/TaosWebSocket.cs index 4a8f10e..299450b 100644 --- a/src/IoTSharp.Data.Taos/Protocols/TDWebSocket/TaosWebSocket.cs +++ b/src/IoTSharp.Data.Taos/Protocols/TDWebSocket/TaosWebSocket.cs @@ -432,7 +432,7 @@ private bool _open_ws(TaosConnectionStringBuilder builder) private bool _ws_conn(TaosConnectionStringBuilder builder,ClientWebSocket _client) { - var rep = WSExecute(_client, new WSActionReq() { Action = "conn", Args = new WSConnReq() { user = builder.Username, password = builder.Password, req_id = 0, db = builder.DataBase } }); + var rep = WSExecute(_client, new WSActionReq() { Action = "conn", Args = new WSConnReq() { user = builder.Username, password = builder.Password, req_id = 0 } }); if (rep.code == 899) { rep = WSExecute(_client, new WSActionReq() { Action = "conn", Args = new WSConnReq() { user = builder.Username, password = builder.Password, req_id = 0 } });