community.general/lib/ansible/modules/database/mysql
Jesse Sandberg 807feb3ac4 Validate variable, return only the found variable value instead of tuple
Docs imply the mysql_variables is used to operate a single variable therefore
- fail before making any db connections if variable is not set
- validate chars for mysql variable name with re.match(^[a-z0-9_]+)
- use "SHOW VARIABLE WHERE Variable_name" instead of LIKE search
- getvariable() returns only the value or None if variable is not found
- the module returns only the found variable value instead of tuple for easier operation eg. as registere variable in tasks
2016-12-08 11:23:24 -05:00
..
__init__.py
mysql_db.py Replace tabbed indentation with spaces for mysql_db module 2016-12-08 11:23:16 -05:00
mysql_user.py Fix to revoke privileges for mysql user = '' Issue #9848 2016-12-08 11:23:24 -05:00
mysql_variables.py Validate variable, return only the found variable value instead of tuple 2016-12-08 11:23:24 -05:00