ansible/database/mysql
Tobias Wolf 34201d6bc4 Fix database table quoting in privileges_unpack() (#3858)
In Ansible 2.x this module gives `changed = True` for all privileges
that are specified including a table with

    priv: "database.table:GRANT"

Mysql returns escaped names in the format

    `database`.`tables`:GRANT

However in PR #1358, which was intended to support dotted database names
(a crazy idea to begin with), the quotes for the table name were left
out, leading to `curr_priv != new_priv`.

This means that the idempotency comparison between new_priv and
curr_priv is always 'changed'.

This PR re-introduces quoting to the table part of the priv.
2016-08-31 14:23:54 -07:00
..
__init__.py Some more module categorization. 2014-11-04 17:23:22 -05:00
mysql_db.py mysql_db: use new exception handling, fixes build (#4373) 2016-08-10 12:35:01 +02:00
mysql_user.py Fix database table quoting in privileges_unpack() (#3858) 2016-08-31 14:23:54 -07:00
mysql_variables.py Convert all databases modules to python3 and 2.4 syntax (#3688) 2016-05-18 07:07:21 -07:00