Skip to content

Removed Exception Test#669

Merged
rene-ye merged 10 commits intomicrosoft:devfrom
rene-ye:dev
Apr 6, 2018
Merged

Removed Exception Test#669
rene-ye merged 10 commits intomicrosoft:devfrom
rene-ye:dev

Conversation

@rene-ye
Copy link
Copy Markdown
Member

@rene-ye rene-ye commented Apr 6, 2018

To be implemented at a later date with more generic and compatible SQL.

rene-ye and others added 10 commits February 2, 2018 15:46
To help debug an irreproducable/random mismatch error if it occurs in the future.
…#666)

* Dont throw exception for colmetadata token

* Adding a comment

* Update comment

* Adding a warning message

* remove ignoreLengthPrefixedToken
* Added more information to error messages

To help debug an irreproducable/random mismatch error if it occurs in the future.

* Revert "Added information to error message"

This reverts commit 25301e6.

* Fix for microsoft#659

Added error handling logic for special cases.

* Read message length

Read the message length instead of reading until terminating character

* Unsigned byte update

Message length is an unsigned byte, converting before using.

* Removed clunky hex conversions

convert the byte straight to an int and use existing constants instead of making new ones

* Narrowed trigger conditions

fixed an issue where column names who had the hex token 'AA' would cause an error to be thrown.

* Spacing fixes

* Added test case

* spacing adjustment

* Edited test drop procedures

Changed IF EXISTS DROP commands to be compatible with sql server 2008

* github spacing misalignment fixes

* Changed test condition

now only runs on compatible database or higher

* Removed error check

Removed a previous implementation in favor of one that changes the TDS parser

* tdsreader change

* removing test for now

* enabled tests

* github spacing fix

* removed array import

* removed "arrays" instead of "array"

* spacing changes
Implement a more generic and compatible test in the future
Used in removed test
@rene-ye rene-ye added this to the 6.5.1 milestone Apr 6, 2018
@rene-ye rene-ye merged commit 501f2b8 into microsoft:dev Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants