Skip to content

[int] SQL escaping tidyups#8703

Merged
fstagni merged 1 commit into
DIRACGrid:integrationfrom
sfayer:feat_sqlescapetidy
Jul 13, 2026
Merged

[int] SQL escaping tidyups#8703
fstagni merged 1 commit into
DIRACGrid:integrationfrom
sfayer:feat_sqlescapetidy

Conversation

@sfayer

@sfayer sfayer commented Jul 11, 2026

Copy link
Copy Markdown
Member

Hi,

Here is my suggested tidy-up for allowing the DATE & RAND functions through quotedList by generalising the existing date function support.

I've also added a test-case for the escapeString None->NULL special case that was fixed earlier in the week.

Regards,
Simon

BEGINRELEASENOTES
*Core
CHANGE: SQL escaping tidyups
ENDRELEASENOTES

@sfayer sfayer requested review from atsareg and fstagni as code owners July 11, 2026 19:55
Comment thread src/DIRAC/Core/Utilities/MySQL.py
@sfayer sfayer force-pushed the feat_sqlescapetidy branch from 81447c5 to f70197b Compare July 13, 2026 08:40
@fstagni fstagni merged commit af4f4e9 into DIRACGrid:integration Jul 13, 2026
23 checks passed
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep:ignore Prevent sweeping from being ran for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants