mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-23 13:20:25 -07:00
mysql_user: refactor to reduce execute() calls (#76)
This module does not currently log the SQL statements that it executes. A change was proposed to add this functionality, but it would require modifications in many sections of the code due to how many cursor.execute() statements there currently are. This change simply consolidates the number of execute() calls where it is trivial to do so.
This commit is contained in:
parent
06907715d7
commit
b25fb5974d
2 changed files with 27 additions and 37 deletions
2
changelogs/fragments/76-mysql-user-query-refact.yaml
Normal file
2
changelogs/fragments/76-mysql-user-query-refact.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- mysql_user - refactor to reduce cursor.execute() calls in preparation for adding query logging (https://github.com/ansible-collections/community.mysql/pull/76).
|
Loading…
Add table
Add a link
Reference in a new issue