Repository navigation
Updates_20261201: version bumps and audit fixes - #964
Merged
Merged
Conversation
Bump the ten bundled procs to .12 with date 20261201, sp_QueryStoreCleanup to 1.12 and TestBackupPerformance to 1.2. Fix the TABLOCK, index column list and CASE layout in sp_QuickieStore, int to integer in ClearTokenPerm, and let EffectiveAnnualInterestRate accept negative rates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M98owbb9iKsAUWvSpjCFTz
erikdarlingdata
marked this pull request as ready for review
November 23, 2026 20:41
|
Claude finished @erikdarlingdata's task in 13s —— View job Review of PR #964No blocking problems found.
Nothing I'd change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release prep for tag Updates_20261201: version bumps on the bundled procs, the style-audit fixes, and one logic fix. Install-All/DarlingData.sql is not touched (CI rebuilds it after merge).
Versions
@version_dateis 20261201 for every row.No README states these versions.
Style-audit fixes
INSERT ... WITH (TABLOCK): 51 inserts in the @plan_parsing block now putWITHat the INSERT indent and(TABLOCK)one level deeper, as in the style guide. The audit listed 23 (QS-1 slice); the QS-2 slice (line 20501 on) holds 28 more with the same layout, so all 51 are fixed. Every instance is in code added this cycle; none in older code needed a change. Undergit diff -wthese changes vanish (whitespace only).CREATE CLUSTERED INDEXon #plan_operators (5 columns) and #plan_edges (6 columns): one column per line inside parentheses.inttointegerin the@active_start_datedeclaration and its CONVERT (audit finding), plus@ReturnCode inton line 42 (same file, same rule, not in the audit).Logic fix: EffectiveAnnualInterestRate
The guard
WHEN (@Rate <= 0) OR (@Periods < 1) THEN 0turned negative rates into 0, while FutureValue and Payment accept negative rates and the formula already gives 0 at rate 0. The guard is nowWHEN (@Periods < 1)only.Verification
git diff -w: outside version lines,inttointeger, the index column lists, the CASE lines and the guard, nothing is left (TABLOCK changes are whitespace only). Only the 14 named files changed; no Install-All changes.@help = 1and read@versionand@version_datefrom the OUTPUT parameters: all show the new values in the table above. The four function results above were run there. The agent job script was checked withSET PARSEONLY ON(no errors) and not run. The scratch database is dropped.Considered, not changed
CASE ... ENDinsideSUM(/MAX(in sp_QuickieStore: the audits did not report them (the guide's own examples use that shape).🤖 Generated with Claude Code
https://claude.ai/code/session_01M98owbb9iKsAUWvSpjCFTz