Skip to content

Commit 2fe8466

Browse files
committed
修复AffectRows返回值问题
1 parent dd5a302 commit 2fe8466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IoTSharp.Data.Taos/TaosCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ internal long GetDateTimeFrom(DateTime dt,IntPtr _taos)
398398
{
399399
TDengine.StopQuery(_taos);
400400
}
401-
_affectRows = TDengine.AffectRows(_taos);
401+
_affectRows = TDengine.AffectRows(code.Result);
402402
}
403403

404404
if (isok && code !=null && TDengine.ErrorNo(code.Result) == 0)

0 commit comments

Comments
 (0)