fix: mysql query using __interval_ms variable throws error
fixes #14507
(cherry picked from commit d8e655bbcf)
This commit is contained in:
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() {
|
||||
|
||||
Reference in New Issue
Block a user