mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Handle all types of exceptions when renaming database, not only connection related ones. Fixes issue #1912.
This commit is contained in:
@ -284,7 +284,7 @@ begin
|
||||
// Close form
|
||||
ModalResult := mrOK;
|
||||
except
|
||||
on E:EDatabaseError do
|
||||
on E:Exception do
|
||||
MessageDlg( 'Altering database "'+editDBName.Text+'" failed:'+CRLF+CRLF+E.Message, mtError, [mbOK], 0 );
|
||||
// Keep form open
|
||||
end;
|
||||
|
Reference in New Issue
Block a user