Merge pull request #15553 from grafana/14507_fix

fix; mysql query using __interval_ms variable throws error
This commit is contained in:
Marcus Efraimsson 2019-02-21 11:40:54 +01:00 committed by GitHub
commit c586bc519f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ export default class MysqlQuery {
}
escapeLiteral(value) {
return value.replace(/'/g, "''");
return String(value).replace(/'/g, "''");
}
hasTimeGroup() {