Bug #50513 Build failure with ifdef HAVE_OPENSSL + ifndef HAVE_YASSL

Submitted: 21 Jan 2010 16:10 Modified: 6 Mar 2010 19:40
Reporter: Marc ALFF Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Performance Schema Severity:S2 (Serious)
Version:5.99-m3 OS:Any
Assigned to: Marc ALFF CPU Architecture:Any

[21 Jan 2010 16:10] Marc ALFF
Description:
When compiling with:
#ifdef HAVE_OPENSSL
#ifndef HAVE_YASSL

the code in sql/mysqld.cc does not compile,
because the instrumentation of the rwlock in openssl_lock_t is incomplete.

Reported by Wlad

How to repeat:
Code review

Suggested fix:
Use mysql_rwlock_*
[21 Jan 2010 18:09] 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/97768

2968 Marc Alff	2010-01-21
      Bug#50513 Build failure with ifdef HAVE_OPENSSL + ifndef HAVE_YASSL
      
      When compiling wiht ./configure --with-ssl=/usr,
      which used OPEN_SSL but not YASSL, the code in sql/mysqld.cc
      failed to build because of an incomplete performance schema instrumentation.
      
      This fix implements properly the instrumentation for the rwlock
      used in openssl_lock_t.
      
      Verified that the code builds, and the ssl + performance schema tests
      do pass.
[22 Jan 2010 1:02] 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/97791

3827 Marc Alff	2010-01-21 [merge]
      Merge of Bug#50513 to mysql-6.0-codebase-marc
[22 Jan 2010 1:07] Marc ALFF
Patch queued in:
- mysql-next-mr-marc
- mysql-6.0-codebase-marc
[13 Feb 2010 8:37] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100213083436-9pesg4h55w1mekxc) (version source revid:luis.soares@sun.com-20100211135109-t63avry9fqpgyh78) (merge vers: 6.0.14-alpha) (pib:16)
[13 Feb 2010 8:39] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100213083327-cee4ao3jpg33eggv) (version source revid:luis.soares@sun.com-20100211135018-1f9dbghg0itszigo) (pib:16)
[13 Feb 2010 13:24] Marc ALFF
Doc team:
- bug present in mysql-next-mr (betony)
- fixed in mysql-next-mr (celosia)
- bug not present in any GA release
[13 Feb 2010 17:45] Paul DuBois
No changelog entry needed. Appears in no released version.

Setting report to Need Merge pending push of Celosia to release tree.
[22 Feb 2010 11:48] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100222114459-6r3tme81gwtm26wb) (version source revid:vvaintroub@mysql.com-20100128003813-0zce3dd530ssjtg0) (merge vers: 6.0.14-alpha) (pib:16)
[22 Feb 2010 11:52] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100222114041-eya4ns8e6qnvofqz) (version source revid:vvaintroub@macbook.local-20100121184101-i4rttp32tntjp8kr) (pib:16)
[22 Feb 2010 15:43] Paul DuBois
Setting report to Need Merge pending push of Celosia to release tree.
[6 Mar 2010 11:02] Bugs System
Pushed into 5.5.3-m3 (revid:alik@sun.com-20100306103849-hha31z2enhh7jwt3) (version source revid:vvaintroub@mysql.com-20100213160132-nx1vlocxuta76txh) (merge vers: 5.5.99-m3) (pib:16)
[6 Mar 2010 19:40] Paul DuBois
No changelog entry needed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.064 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.