dolphindb 2.0.1029 → 2.0.1030

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -723,7 +723,10 @@ export class DdbObj {
723
723
  case DdbForm.scalar:
724
724
  switch (type) {
725
725
  case DdbType.void:
726
- return [Uint8Array.of(1)];
726
+ // Server 实现中区分了 explicitNull
727
+ // Void::serialize()
728
+ // isNothing() ? 0 : 1;
729
+ return [Uint8Array.of(0)];
727
730
  case DdbType.bool:
728
731
  return [
729
732
  Int8Array.of(value === null ?