mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 08:19:22 +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
|
begin
|
||||||
Result := 0;
|
Result := 0;
|
||||||
if (RefCount=0) then
|
if (RefCount=0) then
|
||||||
begin
|
begin
|
||||||
MysqlLibraryHandle := loadlibrary(LibraryName);
|
MysqlLibraryHandle := loadlibrary(LibraryName);
|
||||||
if (MysqlLibraryHandle=nilhandle) then
|
if (MysqlLibraryHandle=nilhandle) then
|
||||||
Exit;
|
Exit;
|
||||||
@ -1621,7 +1621,8 @@ begin
|
|||||||
|
|
||||||
if mysql_library_init(argc, argv, groups) <> 0 then
|
if mysql_library_init(argc, argv, groups) <> 0 then
|
||||||
Exit;
|
Exit;
|
||||||
end else
|
end
|
||||||
|
else
|
||||||
inc(RefCount);
|
inc(RefCount);
|
||||||
|
|
||||||
Result:=RefCount;
|
Result:=RefCount;
|
||||||
|
Loading…
Reference in New Issue
Block a user