1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix(MySQL): missing functions and procedures definer escapes on exporter

This commit is contained in:
2022-03-01 10:15:06 +01:00
parent 9bda4e71b7
commit f0351e5b94

View File

@@ -268,10 +268,11 @@ ${footer}
let sqlString = '';
for (const func of functions) {
const definer = this.getEscapedDefiner(func.Definer);
sqlString += await this.getRoutineSyntax(
func.Name,
func.Type,
func.Definer
definer
);
}
@@ -286,10 +287,12 @@ ${footer}
let sqlString = '';
for (const routine of routines) {
const definer = this.getEscapedDefiner(routine.Definer);
sqlString += await this.getRoutineSyntax(
routine.Name,
routine.Type,
routine.Definer
definer
);
}