Bug #114314 mysql_reload should have a deprecation notice
Submitted: 12 Mar 2024 8:19 Modified: 17 Apr 2024 2:42
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S2 (Serious)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any

[12 Mar 2024 8:19] Daniël van Eeden
Description:
mysql_reload() was removed in 8.3.x, so it should have a note in the 8.0 docs.

https://dev.mysql.com/doc/c-api/8.0/en/mysql-reload.html

https://dev.mysql.com/doc/relnotes/mysql/8.3/en/news-8-3-0.html#mysqld-8-3-0-deprecation-r...

How to repeat:
See description
[12 Mar 2024 8:21] MySQL Verification Team
Hello Daniël,

Thank you for the report and feedback.

regards,
Umesh
[12 Mar 2024 15:47] Daniël van Eeden
Note that https://dev.mysql.com/doc/c-api/8.0/en/mysql-reload.html has this:

"This function is deprecated. Use mysql_real_query() or mysql_query() to issue an SQL FLUSH PRIVILEGES statement instead."

However this is part of the description and not labeled as a note. https://dev.mysql.com/doc/c-api/8.0/en/mysql-list-fields.html has a blue-ish Note.
[12 Mar 2024 15:48] Daniël van Eeden
https://dev.mysql.com/doc/c-api/8.0/en/mysql-create-db.html has the same issue
[17 Apr 2024 2:42] Jon Stephens
Fixed in mysqldoc rev 78330.

Closed.