Skip to content

0.19.2 - Various fixes

Latest
Compare
Choose a tag to compare
@ngvtien ngvtien released this 10 Feb 10:48
a0d87f8

Enhancements:

  • #191 Improve exception message in AseParameter ctor
  • #179 Fixes the incorrect masking in CatchAllToken.
    TDS_CURDECLARE3 also does not obey the rules on token length, so it has been special-cased.
    Additionally, all "Zero-Length" tokens are not actually zero-length; their length is defined by prior tokens in the stream, so it would cause unpredictable errors if they are encountered by the CatchAllToken; as such they now throw exceptions instead.

Bug fixes:

  • #196 Caching command parameter metadata is only applicable for TdsDataType.TDS_BLOB and not the other as we still need to determine DataType and UserType both of which depends parameter.SendableValue where that can be null
    Adding more test cases raised by issue #196

  • #192 Address issue #192 for duplicate parameter name
    Update test cases for #192
    Fix bug in SchemaTableBuilder to not skip valid table
    Partially address issue #188 by include the IsUnique as well as IsKey in the validation to determine hasKey

Other: