Browse Source

* Replaced deprecated call to mysql_server_init with call to mysql_library_init

git-svn-id: trunk@12975 -
joost 16 years ago
parent
commit
d6f5df2572
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/mysql/src/mysql.inc

+ 1 - 1
packages/mysql/src/mysql.inc

@@ -1619,7 +1619,7 @@ begin
     pointer(mysql_stmt_insert_id) := GetProcedureAddress(MysqlLibraryHandle,'mysql_stmt_insert_id');
     pointer(mysql_stmt_field_count) := GetProcedureAddress(MysqlLibraryHandle,'mysql_stmt_field_count');
 
-    if mysql_server_init(argc, argv, groups) <> 0 then
+    if mysql_library_init(argc, argv, groups) <> 0 then
       Exit;
   end else
     inc(RefCount);