fix: mysql query using __interval_ms variable throws error

fixes #14507

(cherry picked from commit d8e655bbcf)
This commit is contained in:
Marcus Efraimsson
2019-02-21 12:49:31 +01:00
committed by Torkel Ödegaard
parent 9bfcfe271f
commit 99fecdcf46
@@ -52,7 +52,7 @@ export default class MysqlQuery {
}
escapeLiteral(value) {
return value.replace(/'/g, "''");
return String(value).replace(/'/g, "''");
}
hasTimeGroup() {