Commit Graph

13 Commits (8c63a02cc8ea618fe6770dff915ebeff889e559a)

Author SHA1 Message Date
Matt Clay 518803c4d7 Add optional connect timeout to mysql* modules. 9 years ago
Matt Martz c7845456a6 Various simple linting type cleanups on modules 9 years ago
Jonathan Mainguy 69d56c4d21 Unify all 3 mysql modules.
Use same connection method, use config_file, and add ssl support
9 years ago
Jonathan Mainguy e101657722 Update error message to be more explicit 9 years ago
Brian Coca 769b81cae1 Merge pull request #1001 from ospii/devel
Validate variable, return only the found variable value instead of tuple
9 years ago
Brian Coca ab5b5e8819 corrected version added 9 years ago
acaveroc e7876df99f Add version_added and type of parameter 9 years ago
acaveroc 7d2a5965bd Assorted minor bug fixes
- Modified data type for port definition from string to integer
- Modified login_host default value for compatibilize with port definition according with MySQL Documentation (https://dev.mysql.com/doc/refman/5.0/en/connecting.html)
9 years ago
acaveroc 5b84b0d136 Add port definition support for mysql_vars module 9 years ago
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 9 years ago
Jesse Sandberg fc4c659400 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
10 years ago
Toshio Kuratomi 10ebcccedb Escape mysql identifiers 10 years ago
Michael DeHaan 3ed1378067 Some more module categorization. 10 years ago