浏览代码

+ Removed debug statement

git-svn-id: trunk@3163 -
michael 19 年之前
父节点
当前提交
439f1401fe
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      packages/base/mysql/mysql.inc

+ 0 - 2
packages/base/mysql/mysql.inc

@@ -1499,7 +1499,6 @@ begin
   Result:=InitialiseMySQL(Mysqllib);
   Result:=InitialiseMySQL(Mysqllib);
 end;
 end;
 
 
-Function dlerror : pchar; cdecl; external;
 
 
 Function InitialiseMysql(Const LibraryName : String) : Integer;
 Function InitialiseMysql(Const LibraryName : String) : Integer;
 
 
@@ -1510,7 +1509,6 @@ begin
     MysqlLibraryHandle := loadlibrary(LibraryName);
     MysqlLibraryHandle := loadlibrary(LibraryName);
     if (MysqlLibraryHandle=nilhandle) then
     if (MysqlLibraryHandle=nilhandle) then
       begin
       begin
-      writeln(dlerror);
       Raise EInOutError.CreateFmt(SLoadFailed,[LibraryName]);
       Raise EInOutError.CreateFmt(SLoadFailed,[LibraryName]);
       end;
       end;
     Inc(RefCount);  
     Inc(RefCount);