ansible/lib/ansible
Tobias Wolf cda78382b6 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-12-08 11:24:57 -05:00
..
cli
compat
config
errors
executor
galaxy
inventory
module_utils
modules Fix database table quoting in privileges_unpack() (#3858) 2016-12-08 11:24:57 -05:00
parsing
playbook
plugins
template
utils
vars
__init__.py
constants.py
release.py
test-requirements.txt