Browse Source

* Fix compilation error caused by signature change

git-svn-id: trunk@34512 -
michael 9 years ago
parent
commit
c9c1cf73ae
1 changed files with 9 additions and 2 deletions
  1. 9 2
      packages/mysql/src/mysql.inc

+ 9 - 2
packages/mysql/src/mysql.inc

@@ -1832,7 +1832,8 @@ uses
 Function InitialiseMysql(Const LibraryName : AnsiString) : 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 ReleaseMysql : Integer;
+Procedure ReleaseMySQL;
+Function DoReleaseMysql : Integer;
 
 var MysqlLibraryHandle : TLibHandle;
   MysqlLoadedLibrary : String;
@@ -2015,7 +2016,13 @@ begin
     end;
 end;
 
-Function ReleaseMysql : Integer;
+Procedure ReleaseMySQL;
+
+begin
+  DoReleaseMysql;
+end;
+
+Function DoReleaseMysql : Integer;
 
 begin
   if RefCount> 1 then