mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 08:49: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_insert_id) := GetProcedureAddress(MysqlLibraryHandle,'mysql_stmt_insert_id');
|
||||||
pointer(mysql_stmt_field_count) := GetProcedureAddress(MysqlLibraryHandle,'mysql_stmt_field_count');
|
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;
|
Exit;
|
||||||
end else
|
end else
|
||||||
inc(RefCount);
|
inc(RefCount);
|
||||||
|
Loading…
Reference in New Issue
Block a user