mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:29:25 +02:00
* Replaced deprecated call to mysql_server_init with call to mysql_library_init
git-svn-id: trunk@12975 -
This commit is contained in:
parent
8ffb1a751e
commit
d6f5df2572
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user