Commit c586bc51 by Marcus Efraimsson Committed by GitHub

Merge pull request #15553 from grafana/14507_fix

fix; mysql query using __interval_ms variable throws error
parents 9a7866a0 d8e655bb
......@@ -52,7 +52,7 @@ export default class MysqlQuery {
}
escapeLiteral(value) {
return value.replace(/'/g, "''");
return String(value).replace(/'/g, "''");
}
hasTimeGroup() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment