Bug #56012 Connector/C test suite fails when running vs. 5.5

Submitted: 16 Aug 2010 13:23 Modified: 10 Feb 2011 17:52
Reporter: Georg Richter Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / C Severity:S3 (Non-critical)
Version:6.0.x OS:Any
Assigned to: Georg Richter CPU Architecture:Any

[16 Aug 2010 13:23] Georg Richter
Description:
Connector test suite fails when running against MySQL Server 5.5 in ps_bugs test:

When executing an explain table statement MySQL Server 5.5 returns in metadatasdb_name "information_schema"  instead of an empty string in prior versions.

How to repeat:
mysql -uroot test --column-types-info

mysql> explain test_select;                        
Field   1:  `Field`                                
Catalog:    `def`                                  
Database:   `information_schema`                   
Table:      `COLUMNS`                              
Org_table:  `COLUMNS`                              
Type:       VAR_STRING                             
Collation:  latin1_swedish_ci (8)                  
Length:     64                                     
Max_length: 10                                     
Decimals:   0                                      
Flags:      NOT_NULL 

Suggested fix:
Add a check for mysql_get_server_version
[16 Aug 2010 13:51] 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/115806

2902 Georg Richter	2010-08-16
      Fix for bug #56012
      Additional fixes for connection and charset tests when running
      against 5.5 server.
[17 Aug 2010 7:23] 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/115879

2902 Georg Richter	2010-08-17
      Fix for bug #56012
      Additional fixes for connection, ps and charset tests when running
      against 5.5 server.
[31 Jan 2011 14:32] Georg Richter
Fixed in 6.0.3
[10 Feb 2011 17:52] Tony Bedford
An entry has been added to the 6.0.3 changelog:

MySQL Connector/C test suite failed when running against MySQL Server 5.5 in the ps_bugs test. When executing an EXPLAIN TABLE statement MySQL Server 5.5 returned the string "information_schema" in metadatasdb_name, instead of an empty string.

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

Page generated in 0.065 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.