-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
81145: sql: minor sqlsmith and tlp cleanup r=mgartner a=mgartner #### sqlsmith: remove duplicate disableImpureFuncs In #79973, `Smither.disableImpureFuncs` and `Smither.DisableImpureFuncs` was added. The `Smither` already had `disableImpureFns` and `DisableImpureFns` for disabling the generation of impure function calls, so the newly added field and method are redundant. This commit consolidates things. Release note: None #### tlp: use Smither.DisableImpureFns to disable impure functions TLP now uses `Smither.DisableImpureFns` to disable the generation of impure function calls, rather than writing to the internal `Smither.disableImpureFns` field. Writing to the internal field directly was preferred prior to #81017 when a single Smither was shared between TLP query generation and mutation statement generation so that mutation statements could use impure functions. Release note: None Co-authored-by: Marcus Gartner <[email protected]>
- Loading branch information
Showing
6 changed files
with
6 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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