mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #1482: enable PostgreSQL and SQLite libraries by unifying the number of groups in the executed regular expression
This commit is contained in:
@ -2035,14 +2035,14 @@ begin
|
||||
rx.Expression := IfThen(AppSettings.ReadBool(asAllProviders), '^', '^(MSOLEDBSQL|SQLOLEDB)');
|
||||
ngPgSQL:
|
||||
{$IfDef LINUX}
|
||||
rx.Expression := '^\s*libpq[^=]+=>\s*(\S+)$';
|
||||
rx.Expression := '^\s*(libpq)[^=]+=>\s*(\S+)$';
|
||||
{$EndIf}
|
||||
{$IfDef WINDOWS}
|
||||
rx.Expression := '^libpq.*\.' + GetDynLibExtension;
|
||||
{$EndIf}
|
||||
ngSQLite: begin
|
||||
{$IfDef LINUX}
|
||||
rx.Expression := '^\s*libsqlite3[^=]+=>\s*(\S+)$';
|
||||
rx.Expression := '^\s*(libsqlite3)[^=]+=>\s*(\S+)$';
|
||||
{$EndIf}
|
||||
{$IfDef WINDOWS}
|
||||
if NetType = ntSQLite then
|
||||
|
Reference in New Issue
Block a user