From 5a7e368ca212d109836b853983846df0d56146e5 Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Tue, 25 Apr 2023 16:00:23 +0200 Subject: [PATCH] docs: explain PyMySQL 0.10.0+ returns changed when using IF EXISTS --- plugins/modules/mysql_query.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/modules/mysql_query.py b/plugins/modules/mysql_query.py index 73f6d2d..12d5a56 100644 --- a/plugins/modules/mysql_query.py +++ b/plugins/modules/mysql_query.py @@ -26,9 +26,9 @@ options: as a formatting character. All literal C(%) characters in the query should be escaped as C(%%). - Note that if you use the C(IF EXISTS/IF NOT EXISTS) clauses in your query - and C(mysqlclient) connector, the module will report that - the state has been changed even if it has not. If it is important in your - workflow, use the C(PyMySQL) connector instead. + and C(mysqlclient) or C(PyMySQL 0.10.0+) connectors, the module will report + that the state has been changed even if it has not. If it is important in your + workflow, use the C(PyMySQL 0.9.3) connector instead. type: raw required: true positional_args: