chore: TODO removed as function created 💡
This commit is contained in:
@@ -189,7 +189,7 @@ func removeDefiners(filename string) {
|
||||
// Regex 1: .*(DEFINER=[a-zA-Z0-9\x60%@]+).* (Used by procedures/funcs)
|
||||
// Regex 2: .*(\/\*\!50003.*!50003+).* (Used by triggers)
|
||||
// Regex 3: (\/\*\!50013.*DEFINER \*\/) (Used in schema)
|
||||
// TODO: Add routine body to strip definers.
|
||||
|
||||
expressions := make([]string, 3)
|
||||
expressions[0] = `s/(^.*)(.DEFINER=[a-zA-Z0-9\x60%@]+)(.*)/$1$3/g`
|
||||
expressions[1] = `s/(.*)(\/\*\!50003.*!50003+)(.*)/$1$3/g`
|
||||
|
||||
Reference in New Issue
Block a user