mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
fcl-db: sqlite: call InitializeSQLite with SQLiteLibraryName (in same style like in DoInternalConnect)
to avoid exception when connection is already opened. git-svn-id: trunk@22986 -
This commit is contained in:
parent
1fe0240029
commit
82fd77d341
@ -930,7 +930,7 @@ function TSQLite3Connection.GetConnectionInfo(InfoType: TConnInfoType): string;
|
||||
begin
|
||||
Result:='';
|
||||
try
|
||||
InitializeSqlite;
|
||||
InitializeSqlite(SQLiteLibraryName);
|
||||
case InfoType of
|
||||
citServerType:
|
||||
Result:=TSQLite3ConnectionDef.TypeName;
|
||||
|
Loading…
Reference in New Issue
Block a user