Bug #31952 Remove undocumented mysql_rpl_* functions.
Submitted: 30 Oct 2007 16:01 Modified: 14 Dec 2007 20:25
Reporter: Konstantin Osipov
Status: Closed
Category:C API Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Magnus Svensson Target Version:6.0
Triage: D4 (Minor)

[30 Oct 2007 16:01] Konstantin Osipov
Description:
Remove undocumented mysql_rpl_* functions from the C API.
They have never worked, are not documented, and were planned for removal in 5.0 already.

How to repeat:
List of functions to remove:
mysql_disable_reads_from_master
mysql_disable_rpl_parse
mysql_enable_reads_from_master
mysql_enable_rpl_parse
mysql_master_query
mysql_master_send_query
mysql_reads_from_master_enabled
mysql_rpl_parse_enabled
mysql_rpl_probe
mysql_rpl_query_type
mysql_set_master
mysql_slave_query
mysql_slave_send_query

Suggested fix:
Remove them.
[16 Nov 2007 11:25] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/37933

ChangeSet@1.2655, 2007-11-16 11:25:54+01:00, msvensson@pilot.mysql.com +5 -0
  Bug#31952 Remove undocumented mysql_rpl_* functions.
   - Functions removed + variables in st_mysql and st_mysql_options renamed
     to "unusedn".
   - Code updated to work without those functions and variables
[26 Nov 2007 19:04] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/38546

ChangeSet@1.2655, 2007-11-26 19:03:23+01:00, msvensson@pilot.mysql.com +4 -0
  Bug#31952 Remove undocumented mysql_rpl_* functions.
   - Functions removed + variables in st_mysql and st_mysql_options renamed
     to "unusedn".
   - Code updated to work without those functions and variables
[4 Dec 2007 16:28] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/39215

ChangeSet@1.2739, 2007-12-04 18:27:44+03:00, kostja@bodhi.(none) +2 -0
  Fix a potential linking error with libmysql and libmysqld on Windows: 
  remove declarations of removed functions (Bug#31952)
[6 Dec 2007 11:02] Bugs System
Pushed into 6.0.5-alpha
[14 Dec 2007 20:25] Paul DuBois
Noted in 6.0.5 changelog.