Fix repeated column comment in table editor. See http://www.heidisql.com/forum.php?t=12540

This commit is contained in:
Ansgar Becker
2013-04-15 05:54:03 +00:00
parent e42cb467fc
commit a3a42b5d87

View File

@ -750,6 +750,7 @@ var
begin
// Return comment from SQL and remove it from the original string
// Single quotes are escaped by a second single quote
Result := '';
rx := TRegExpr.Create;
rx.Expression := '^\s*COMMENT\s+''';
rx.ModifierI := True;