[PR #11754/b780224d backport][stable-11] mssql_script: only pass params to cursor.execute() when provided (#11759)

mssql_script: only pass params to cursor.execute() when provided (#11754)

* mssql_script: only pass params to cursor.execute() when provided

Fixes #11699



* mssql_script: add changelog fragment for PR #11754



---------


(cherry picked from commit b780224d6d)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
patchback[bot]
2026-04-08 20:06:04 +02:00
committed by GitHub
parent b9e5db4373
commit bc13d83a64
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
bugfixes:
- mssql_script - only passes ``params`` to ``cursor.execute()`` when the user actually provides them
(https://github.com/ansible-collections/community.general/issues/11699,
https://github.com/ansible-collections/community.general/pull/11754).