Skip to content

Commit

Permalink
Make search for libraries case insensitive. Closes #716
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarbecker committed Jul 17, 2019
1 parent beaa7ce commit 2dfb118
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/connections.pas
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ procedure Tconnform.FormCreate(Sender: TObject);

// Detect existing MySQL libraries
rx := TRegExpr.Create;
rx.ModifierI := True;
rx.Expression := '^lib(mysql|mariadb).*\.dll$';
Libs := TDirectory.GetFiles(ExtractFilePath(ParamStr(0)), '*.dll');
for LibPath in Libs do begin
Expand Down

0 comments on commit 2dfb118

Please sign in to comment.