1. 12 Feb, 2014 3 commits
    • Add support for string values · 811aa261
      The SET GLOBAL statement requires properly quoting of values. For example, the
      following correct queries will fail if quotes are toggled:
      
      mysql> SET GLOBAL innodb_lru_scan_depth = 2000;
      mysql> SET GLOBAL master_info_repository = "TABLE";
      
      `mysql_variable` module doesn't quote the value argument, therefore
      string values will fail.
      
        # this task will pass, 2000 is passed without quotes
        - name: set a numeric value
          mysql_variable: variable=innodb_lru_scan_depth value=2000
      
        # this task will fail, TABLE is passed without quotes
        - name: set a string value
          mysql_variable: variable=master_info_repository value=TABLE
      
      With this patch prepared statements are used. Proper quoting will be
      done automatically based on the type of the variables thus an attempt
      to convert to int, then to float is done in first place.
      
      Booleans values, ie: ON, OFF, are not specially handled because they
      can be quoted. For example, the following queries are correct and
      equivalent, they all set _innodb_file_per_table_ to logical _True_:
      
      mysql> SET GLOBAL innodb_file_per_table = "ON";
      mysql> SET GLOBAL innodb_file_per_table = ON;
      mysql> SET GLOBAL innodb_file_per_table = 1;
      
      Tested in mysql 5.5 and 5.6.
      Maykel Moya committed
    • Merge pull request #5967 from willthames/env_setup_library · 87466717
      Allow hacking/env-setup module path to use config file library path
      Michael DeHaan committed
    • Allow hacking/env-setup module path to use config file library path · e2d04f7e
      hacking/env-setup now adds the configured library path in ANSIBLE_CONFIG
      to the ANSIBLE_LIBRARY environment variable in addition to the previous
      default of ANSIBLE_HOME/library.
      
      This replaces #5950.
      willthames committed
  2. 11 Feb, 2014 10 commits
  3. 10 Feb, 2014 11 commits
  4. 09 Feb, 2014 7 commits
  5. 08 Feb, 2014 8 commits
  6. 07 Feb, 2014 1 commit