Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCR: fix MS SQL Server status list refresh #3457

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

reinkrul
Copy link
Member

@reinkrul reinkrul commented Oct 8, 2024

Fixes:

{"detail":"mssql: Invalid column name 'subject_id'.","status":500,"title":"StatusList failed"}

Caused by:

SELECT * FROM status_list_entry WITH (UPDLOCK, ROWLOCK) WHERE subject_id =

Also fixes a count(*) > 0 leftover, which isn't supported by all databases (at least not by MS SQL Server).

There isn't really a good way to test this, since it only triggers when the StatusList credential expires (after 24h).

@reinkrul reinkrul requested a review from gerardsn October 8, 2024 04:32
@reinkrul reinkrul merged commit 48d37c1 into master Oct 8, 2024
8 of 9 checks passed
@reinkrul reinkrul deleted the vcr-msssql-statuslist-update-fix branch October 8, 2024 08:32
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.

2 participants