Commit Graph

9 Commits (965cb1f825da0314e0c29aa6d51106d36f4ce408)

Author SHA1 Message Date
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 10 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)
10 years ago
acaveroc 5b84b0d136 Add port definition support for mysql_vars module 10 years ago
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 10 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