mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 01:56:36 +08:00
Minor performance fix
This commit is contained in:
@ -366,8 +366,8 @@ begin
|
|||||||
// Connect to selected session
|
// Connect to selected session
|
||||||
Params := CurrentParams;
|
Params := CurrentParams;
|
||||||
|
|
||||||
if (CurrentParams.NetType = ntSQLite)
|
if (Params.NetType = ntSQLite)
|
||||||
and (not FileExists(CurrentParams.Hostname))
|
and (not FileExists(Params.Hostname))
|
||||||
then begin
|
then begin
|
||||||
Msg := f_('Database file "%s" does not exist. Shall it be created now?', [Params.Hostname]);
|
Msg := f_('Database file "%s" does not exist. Shall it be created now?', [Params.Hostname]);
|
||||||
DoCreateDb := MessageDialog(Msg, mtConfirmation, [mbNo, mbYes]);
|
DoCreateDb := MessageDialog(Msg, mtConfirmation, [mbNo, mbYes]);
|
||||||
|
Reference in New Issue
Block a user