mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 05:19:37 +02:00
* Refactored so that identation-style is consistent within the unit
git-svn-id: trunk@12976 -
This commit is contained in:
parent
d6f5df2572
commit
87c17a6ef8
@ -1511,7 +1511,7 @@ Function TryInitialiseMysql(Const LibraryName: String; argc: cint; argv: PPchar;
|
||||
begin
|
||||
Result := 0;
|
||||
if (RefCount=0) then
|
||||
begin
|
||||
begin
|
||||
MysqlLibraryHandle := loadlibrary(LibraryName);
|
||||
if (MysqlLibraryHandle=nilhandle) then
|
||||
Exit;
|
||||
@ -1621,7 +1621,8 @@ begin
|
||||
|
||||
if mysql_library_init(argc, argv, groups) <> 0 then
|
||||
Exit;
|
||||
end else
|
||||
end
|
||||
else
|
||||
inc(RefCount);
|
||||
|
||||
Result:=RefCount;
|
||||
|
Loading…
Reference in New Issue
Block a user