|
@@ -1832,7 +1832,7 @@ uses
|
|
Function InitialiseMysql(Const LibraryName : AnsiString) : Integer;
|
|
Function InitialiseMysql(Const LibraryName : AnsiString) : Integer;
|
|
Function InitialiseMysql(Const LibraryName : AnsiString; argc: cint; argv:PPchar = Nil; groups:PPchar = nil) : Integer;
|
|
Function InitialiseMysql(Const LibraryName : AnsiString; argc: cint; argv:PPchar = Nil; groups:PPchar = nil) : Integer;
|
|
Function InitialiseMysql(argc:cint = -1; argv:PPchar = nil; groups:PPchar = nil) : Integer;
|
|
Function InitialiseMysql(argc:cint = -1; argv:PPchar = nil; groups:PPchar = nil) : Integer;
|
|
-Procedure ReleaseMysql;
|
|
|
|
|
|
+Function ReleaseMysql : Integer;
|
|
|
|
|
|
var MysqlLibraryHandle : TLibHandle;
|
|
var MysqlLibraryHandle : TLibHandle;
|
|
MysqlLoadedLibrary : String;
|
|
MysqlLoadedLibrary : String;
|
|
@@ -2015,7 +2015,7 @@ begin
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|
|
-Procedure ReleaseMysql;
|
|
|
|
|
|
+Function ReleaseMysql : Integer;
|
|
|
|
|
|
begin
|
|
begin
|
|
if RefCount> 1 then
|
|
if RefCount> 1 then
|
|
@@ -2029,7 +2029,8 @@ begin
|
|
MysqlLibraryHandle := NilHandle;
|
|
MysqlLibraryHandle := NilHandle;
|
|
MysqlLoadedLibrary:='';
|
|
MysqlLoadedLibrary:='';
|
|
end
|
|
end
|
|
- end
|
|
|
|
|
|
+ end;
|
|
|
|
+ Result:=RefCount;
|
|
end;
|
|
end;
|
|
|
|
|
|
{$ENDIF}
|
|
{$ENDIF}
|