Skip to content

Commit 87240fd

Browse files
committed
使用 NotSupportedException 来抛出不支持 参数化 command
1 parent 515f20f commit 87240fd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/Apache.IoTDB.Data/IoTDBCommand.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -299,13 +299,13 @@ public override void Prepare()
299299
int _affectRows = 0;
300300
SessionDataSet dataSet=null;
301301
bool isok = false;
302-
Task<SessionDataSet> taskDataSet =null;
302+
Task<SessionDataSet> taskDataSet = null;
303303
if (_parameters.IsValueCreated)
304304
{
305-
306-
var pms = _parameters.Value;
307-
var record = BindParamters(pms);
308-
305+
306+
var pms = _parameters.Value;
307+
var record = BindParamters(pms);
308+
throw new NotSupportedException();
309309
}
310310
else
311311
{

0 commit comments

Comments
 (0)