Skip to content

Fix | Intermittent deadlock error by querying only the procedure created#1423

Merged
rene-ye merged 1 commit intomicrosoft:devfrom
rene-ye:callableDeadLock
Sep 16, 2020
Merged

Fix | Intermittent deadlock error by querying only the procedure created#1423
rene-ye merged 1 commit intomicrosoft:devfrom
rene-ye:callableDeadLock

Conversation

@rene-ye
Copy link
Copy Markdown
Member

@rene-ye rene-ye commented Sep 2, 2020

sp_sproc_columns_100 returns all stored procedures that match the criteria. There is a chance that stored procedures which match the criteria are being altered/updated during the test. If we only query for the stored procedure we created in the test by restricting the SP to use the function name, this won't happen as the SP names are unique.

@rene-ye rene-ye added this to the 9.1.0 milestone Sep 2, 2020
@peterbae
Copy link
Copy Markdown
Contributor

peterbae commented Sep 4, 2020

Good fix and analysis.

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.

4 participants