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:
lacak 2012-11-15 09:30:17 +00:00
parent 1fe0240029
commit 82fd77d341

View File

@ -930,7 +930,7 @@ function TSQLite3Connection.GetConnectionInfo(InfoType: TConnInfoType): string;
begin begin
Result:=''; Result:='';
try try
InitializeSqlite; InitializeSqlite(SQLiteLibraryName);
case InfoType of case InfoType of
citServerType: citServerType:
Result:=TSQLite3ConnectionDef.TypeName; Result:=TSQLite3ConnectionDef.TypeName;