Updated my.cnf template to support items with no values
This commit is contained in:
parent
1d9eaa62e9
commit
52083e6c6a
1 changed files with 4 additions and 0 deletions
|
@ -2,7 +2,11 @@
|
|||
<% if v.is_a?(Hash) -%>
|
||||
[<%= k %>]
|
||||
<% @options[k].sort.map do |ki, vi| -%>
|
||||
<% if vi and vi != '' -%>
|
||||
<%= ki %> = <%= vi %>
|
||||
<% else -%>
|
||||
<%= ki %>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in a new issue