mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 10:02:10 +08:00
Bugfix: EnsureActiveDatabase() is a helper function, it shouldn't gobble up exceptions.
(There we go with that default "HandleErrors = true" thing again...)
This commit is contained in:
@ -1829,7 +1829,7 @@ begin
|
||||
if ActualDatabase = '' then Exit;
|
||||
if (FMysqlConn.Connection.Database <> ActualDatabase) or UserQueryFired then begin
|
||||
FMysqlConn.Connection.Database := ActualDatabase;
|
||||
ExecUseQuery(ActualDatabase);
|
||||
ExecUseQuery(ActualDatabase, false, false);
|
||||
UserQueryFired := false;
|
||||
end;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user