mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 03:01:07 +08:00
Accept column rename when it has the same name as a deleted column. Fixes issue #3137.
This commit is contained in:
@ -1133,7 +1133,7 @@ begin
|
||||
case Column of
|
||||
1: begin // Name of column
|
||||
for i:=0 to FColumns.Count-1 do begin
|
||||
if FColumns[i].Name = NewText then begin
|
||||
if (FColumns[i].Name = NewText) and (not (FColumns[i].Status in [esDeleted, esAddedDeleted])) then begin
|
||||
ErrorDialog(f_('Column "%s" already exists.', [NewText]));
|
||||
Exit;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user