Richard Burnison
2e0c44f616
Add session_vars
to mysql_query
. ( #729 )
...
Plugins CI / Integration (Ⓐstable-2.18, DB: mariadb 11.4.5, connector: pymysql 0.9.3) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.18, DB: mysql 8.0.38, connector: pymysql 0.9.3) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.18, DB: mariadb 11.4.5, connector: pymysql 1.0.2) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.18, DB: mysql 8.0.38, connector: pymysql 1.0.2) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.18, DB: mariadb 11.4.5, connector: pymysql 1.1.1) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.18, DB: mysql 8.4.1, connector: pymysql 1.1.1) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mariadb 11.4.5, connector: mysqlclient 2.0.1) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mysql 8.0.38, connector: mysqlclient 2.0.1) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mariadb 10.11.8, connector: mysqlclient 2.0.3) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mariadb 11.4.5, connector: mysqlclient 2.0.3) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mysql 8.0.38, connector: mysqlclient 2.0.3) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mariadb 10.11.8, connector: mysqlclient 2.1.1) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mariadb 11.4.5, connector: mysqlclient 2.1.1) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mysql 8.0.38, connector: mysqlclient 2.1.1) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mysql 8.4.1, connector: mysqlclient 2.1.1) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mariadb 11.4.5, connector: pymysql 0.9.3) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mysql 8.0.38, connector: pymysql 0.9.3) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mariadb 11.4.5, connector: pymysql 1.0.2) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mysql 8.0.38, connector: pymysql 1.0.2) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mariadb 11.4.5, connector: pymysql 1.1.1) (push) Has been cancelled
Plugins CI / Integration (Ⓐstable-2.19, DB: mysql 8.4.1, connector: pymysql 1.1.1) (push) Has been cancelled
Plugins CI / Units (Ⓐdevel, Python3.10) (push) Has been cancelled
Plugins CI / Units (Ⓐdevel, Python3.11) (push) Has been cancelled
Plugins CI / Units (Ⓐstable-2.18, Python3.10) (push) Has been cancelled
Plugins CI / Units (Ⓐstable-2.18, Python3.11) (push) Has been cancelled
Plugins CI / Units (Ⓐstable-2.18, Python3.8) (push) Has been cancelled
Plugins CI / Units (Ⓐstable-2.18, Python3.9) (push) Has been cancelled
Plugins CI / Units (Ⓐstable-2.19, Python3.10) (push) Has been cancelled
Plugins CI / Units (Ⓐstable-2.19, Python3.11) (push) Has been cancelled
Plugins CI / Units (Ⓐstable-2.19, Python3.9) (push) Has been cancelled
This commit adds a `session_vars` dict to the `mysql_query` plugin,
similar to that done in #489 . While this could also be done by using a
list of queries, having a dictionary allows for a cleaner query,
reusability (via merge key), and a more consistent experience when using
different plugins (like `mysql_user`, which supports `session_vars`).
2025-09-12 09:05:30 +02:00
Simon Pahl
539e940ab3
Fix python2 compatibility of execution_time_ms ( #720 )
...
Co-authored-by: Simon Pahl <simon.pahl@etops.com>
2025-07-24 13:33:02 +02:00
Andrew Klychkov
960ac32adf
mysql_query: returns execution_time_ms list containing execution time per query ( #697 )
...
* mysql_query: returns execution_time_ms list containing execution time per query
* Update changelogs/fragments/0-mysql_query-returns-exec-time-ms.yml
Co-authored-by: Laurent Indermühle <laurent.indermuehle@pm.me>
2025-01-16 15:49:53 +01:00
Andrew Klychkov
90bd0b0a75
Update contributor's email ( #684 )
2024-10-24 10:57:36 +02:00
Robert Silén
6c4dca4bce
mention MariaDB ( #640 )
...
* mention MariaDB
* mention MariaDB in descriptions and notes
* nits
* chmod -x
2024-05-31 09:14:43 +02:00
Andrew Klychkov
e34209b3f8
Fix sanity issues ( #609 )
...
* Fix sanity issues
* Remove ignore entries
2024-01-23 11:27:47 +01:00
Pavel Rabel
b79fd94d51
Doc Attributes ( #555 )
...
* Added Attributes section
* Added Attributes section
2023-05-29 09:25:19 +02:00
Laurent Indermühle
30a2015f6c
feat: Add support for the connector pymysql 1.0.2 ( #533 )
...
* Document connector-version relationship
* Fix missing option in the command usage documentation
* Rephrase commands descriptions
* Document that pymysql 0.10.0 disabled its warnings
* Disable tests for pymysql newer than 0.10.0 because the behavior changed
* Enable integration tests for pymysql 1.0.2
* Add exclusion to avoid requesting nonexistent test containers
* Cut comments about PyMySQL 1.0.2 need to be fixed
* docs: explain PyMySQL 0.10.0+ returns changed when using IF EXISTS
2023-05-04 11:14:58 +02:00
IBims1NicerTobi
754387c7e5
Added formatting behaviour to documentation ( #516 )
...
* Added formatting behaviour to documentation
* Update plugins/modules/mysql_query.py
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
---------
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2023-03-31 13:27:48 +02:00
Andrew Klychkov
3ff1fad5f3
Docs: change yes/no to true/false ( #480 )
2023-01-03 11:24:59 +01:00
Andrew Klychkov
f1d63e3fc8
Docs: add info how to cope with a protocol-related connection error using login_unix_socket argument ( #420 )
2022-08-26 11:38:41 +02:00
Andrew Klychkov
647461010d
mysql_query: fix false change reports when IF NOT EXISTS clause is used ( #322 )
...
* mysql_query: fix false change reports when IF NOT EXISTS clause is used
* Fix
* Fix doc, add fragment
* Improve doc
2022-05-25 16:19:31 +02:00
Tong He
9055bb4c8c
mysql_query: correctly reflect changed status in replace statements ( #193 )
...
* mysql_query: correctly reflect changed status in replace statements.
* Fix the wrong indent.
2021-07-28 09:18:00 +02:00
Andrew Klychkov
2dcbd7846f
mysql_query, mysql_user: simple refactoring of type checks ( #58 )
...
* mysql_query: simple refactoring of query type check
* do the same for mysql_user
* Improve integration test coverage
2020-11-06 13:12:07 +03:00
Andrew Klychkov
b2bde48020
mysql_query: add note about running queries from file via mysql_db module ( #55 )
2020-11-05 13:29:24 +03:00
Andrew Klychkov
ae9c0a1751
mysql_query: fix failing when single-row query contains commas ( #53 )
...
* mysql_query: fix failing when single-row query contains commas
* add changelog fragment
* Improve documentation and tests
* Fix typo
* Improve test coverage
* Fix
* Remove the irrelevant note
* change suggested
2020-11-03 15:04:39 +03:00
Jorge Rodriguez (A.K.A. Tiriel)
8c79011dbd
Disable hostname check ( #38 )
...
* Add changelog fragment
* Add check_hostname option
* Propagate check_hostname option across the collection
* Update documentation fragment
* Propagate test to all other plugins
* Remove stray line
* Give test user privileges to run test operations
* Extend integration tests job matrix
* Add caution note to documentation fragment.
* Update matrix job name
* Rearrange job matrix
* Fix sanity issues
* Fix issue with mysqldb silently failing to update out of range variables
* Fix variable overwrite
* Ignore `check_hostname` when using MySQLdb
* Update plugins/doc_fragments/mysql.py
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* Update plugins/doc_fragments/mysql.py
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* Update changelogs/fragments/35-disable-hostname-check.yml
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-10-12 21:19:43 +03:00
Andrew Klychkov
c255d7ece2
mysql modules: fix examples to use FQCN ( #3 )
2020-07-13 10:52:49 +01:00
Felix Fontein
4a3cfa6a32
Fixups ( #2 )
...
* Add changelog fragments from c.g.
* Adjust version_added to 0.1.0, which comes closer to the truth.
* Add changelogs/.plugin-cache.yaml to gitignore.
2020-07-12 12:35:55 +01:00
Ben Mildren
c26bc095ad
initial commit ( #1 )
...
* initial commit
* removed remaining references to community.general
* enabled integration pipeline
* switched from preconfigured replication topology to simple multinode install
* updated version from 1.0.0 to 0.1.0
2020-07-10 17:16:58 +01:00