Merge pull request #143 from lesykm/master

add ability to specify repeating keys
This commit is contained in:
Forrest 2016-10-02 11:59:10 -07:00 committed by GitHub
commit 5c66c41673
2 changed files with 11 additions and 0 deletions

View file

@ -31,8 +31,14 @@
{% if mvalue == "noarg_present" -%}
{{ mparam }}
{%- else -%}
{%- if mvalue is iterable and mvalue is not string -%}
{%- for item in mvalue -%}
{{ mparam }}{{ '='|indent(indents, true) }} {{ item }}
{% endfor -%}
{%- else -%}
{{ mparam }}{{ '='|indent(indents, true) }} {{ mvalue }}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- endfor %}

View file

@ -31,6 +31,11 @@ mysql:
port: 3307
binlog_do_db: foo
auto_increment_increment: 5
binlog-ignore-db:
- mysql
- sys
- information_schema
- performance_schema
mysql:
# my.cnf param that not require value
no-auto-rehash: noarg_present