Extra quotes being added when include all options is selected

Hello everyone,

I’m using Grafana v6.7.1 to display some information from a MySQL database.

I have configured some variables to help me select which information I want to display.
However, when I select the “Include all option”, quotations marks seem to be added to the variable values.
For example, before the option is selected a mac address value would be AA:AA:AA:AA:AA:AA. Once I select the option, the same value becomes ‘AA:AA:AA:AA:AA:AA’.

This has an impact on the way SQL queries need to be written, especially when the custom all value is also a SQL query.

Does anybody know if this is normal behavior, if it’s a bug, or if I’m doing something wrong on my end?

Thank you for your help.