Commit 4955136
committed
修复 SessionDataSet 行数统计、异步释放及空值测点问题
- Fix CurrentBatchRowCount() always returning 0 by eagerly constructing
the first TsBlock in RpcDataSet constructor when initial data is available
修复 CurrentBatchRowCount() 始终返回 0 的问题,在构造函数中预先反序列化首个 TsBlock
- Add IAsyncDisposable to SessionDataSet and RpcDataSet, providing
DisposeAsync() that properly awaits Close() to avoid sync-over-async deadlocks
为 SessionDataSet 和 RpcDataSet 添加 IAsyncDisposable 接口,支持 await using 语法
- Fix GetRow() including null-valued columns in RowRecord by using
IsNull() check before calling type-specific getters, instead of relying
on value type null checks which always pass for int/bool/float/etc.
修复 GetRow() 中值类型默认值绕过 null 检查导致空值列被错误包含的问题
1 parent 9fd7a9c commit 4955136
2 files changed
Lines changed: 49 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
| |||
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
175 | 196 | | |
176 | 197 | | |
177 | 198 | | |
| |||
634 | 655 | | |
635 | 656 | | |
636 | 657 | | |
637 | | - | |
638 | 658 | | |
639 | 659 | | |
640 | 660 | | |
641 | | - | |
642 | 661 | | |
643 | 662 | | |
644 | 663 | | |
| |||
647 | 666 | | |
648 | 667 | | |
649 | 668 | | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
650 | 676 | | |
651 | 677 | | |
652 | 678 | | |
| |||
682 | 708 | | |
683 | 709 | | |
684 | 710 | | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
691 | 714 | | |
692 | 715 | | |
693 | 716 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
187 | 203 | | |
188 | 204 | | |
0 commit comments