Bug #31952 Remove undocumented mysql_rpl_* functions.
Submitted: 30 Oct 2007 15:01 Modified: 12 Nov 2009 18:31
Reporter: Konstantin Osipov (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: C API (client library) Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Magnus BlÄudd CPU Architecture:Any

[30 Oct 2007 15: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 10: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 18: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 15: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 10:02] Bugs System
Pushed into 6.0.5-alpha
[14 Dec 2007 19:25] Paul DuBois
Noted in 6.0.5 changelog.
[9 Oct 2009 9:24] 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/86306

2890 Konstantin Osipov	2009-10-09
      Backport the following revision from 6.0:
      ----------------------------------------------------------
      revno: 2476.657.210
      committer: kostja@bodhi.(none)
      timestamp: Tue 2007-12-04 18:27:44 +0300
      message:
        Fix a potential linking error with libmysql and libmysqld on Windows:
        remove declarations of removed functions (Bug#31952)
      ----------------------------------------------------------
     @ libmysql/libmysql.def
        Remove declarations of removed functions (Bug#31952)
     @ libmysqld/libmysqld.def
        Remove declarations of removed functions (Bug#31952)
[9 Oct 2009 9:31] Konstantin Osipov
Pushed into 5.5.0
[9 Oct 2009 20:41] Paul DuBois
Noted in 5.5.0 changelog.
[15 Oct 2009 20:56] 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/87043

2925 Konstantin Osipov	2009-10-16
      Backport of:
      ------------------------------------------------------------
      revno: 2476.981.1
      committer: msvensson@pilot.mysql.com
      timestamp: Mon 2007-11-26 19:03:23 +0100
      message:
        Bug#31952 Remove undocumented mysql_rpl_* functions.
        - Functions removed + variables in st_mysql and st_mysql_options 
          renamed to "unused".
        - Code updated to work without those functions and variables
[3 Nov 2009 7:17] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091102151658-j9o4wgro47m5v84d) (version source revid:alik@sun.com-20091023064702-2f8jdmny61bdl94u) (merge vers: 6.0.14-alpha) (pib:13)
[3 Nov 2009 15:12] Paul DuBois
Already fixed in earlier 6.0.x release.
[12 Nov 2009 8:20] Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091110093229-0bh5hix780cyeicl) (version source revid:mikael@mysql.com-20091103113702-p61dlwc6ml6fxg18) (merge vers: 5.5.0-beta) (pib:13)
[12 Nov 2009 18:31] Paul DuBois
Noted in 5.5.0 changelog.