Commit d8e655bb by Marcus Efraimsson

fix: mysql query using __interval_ms variable throws error

fixes #14507
parent d85ea5d2
...@@ -52,7 +52,7 @@ export default class MysqlQuery { ...@@ -52,7 +52,7 @@ export default class MysqlQuery {
} }
escapeLiteral(value) { escapeLiteral(value) {
return value.replace(/'/g, "''"); return String(value).replace(/'/g, "''");
} }
hasTimeGroup() { 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