mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Fix VIEW code parser for name length of only 1 character.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user