diff --git a/source/helpers.pas b/source/helpers.pas index 5b304cbe..377792a3 100644 --- a/source/helpers.pas +++ b/source/helpers.pas @@ -2422,7 +2422,7 @@ begin '(ALGORITHM\s*=\s*(\w+)\s+)?'+ '(DEFINER\s*=\s*\S+\s+)?'+ '(SQL\s+SECURITY\s+\w+\s+)?'+ - 'VIEW\s+`?\w[\w\s]+`?\s+'+ + 'VIEW\s+`?\w[\w\s]*`?\s+'+ '(\([^\)]\)\s+)?'+ 'AS\s+(.+)(\s+WITH\s+(\w+\s+)?CHECK\s+OPTION\s*)?$'; if rx.Exec(CreateCode) then begin