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

sp_QuickieStore.sql: Moved capturing of _date_original variables outside of loop. #432

Merged
merged 1 commit into from
May 23, 2024

Conversation

ReeceGoding
Copy link
Contributor

Closes #429 . As with the last @get_all_databases bug, I just had to move some bits outside of the loop and make something inside of the loop point to the now-outside bits. I think I'm finding one @get_all_databases-bug per month, which is a bit worrying.

As always, I must warn that I have never taken a deep look at how this procedure works, so I may have totally messed it up. It's clear that the date/UTC handling in this procedure is battle-worn, so it really is quite likely that I'm oblivious to something important. I have tried my best to make small changes that are true to the design and formatting, but this time it was worryingly easy. I was shocked to see that the @[...]_date_original variables already existed. It's as if somebody already tried to patch this bug.

@erikdarlingdata erikdarlingdata self-requested a review May 23, 2024 12:35
@erikdarlingdata erikdarlingdata added the sp_QuickieStore For the loving of Query Store label May 23, 2024
@erikdarlingdata erikdarlingdata merged commit 3bf8932 into erikdarlingdata:dev May 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sp_QuickieStore For the loving of Query Store
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants