Bug #74106 Define a data type wrapper for pretty-printing table names
Submitted: 26 Sep 2014 12:20 Modified: 2 Oct 2014 14:41
Reporter: Marko Mäkelä Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.7.5 OS:Any
Assigned to: CPU Architecture:Any

[26 Sep 2014 12:20] Marko Mäkelä
Description:
InnoDB is displaying table names in some diagnostic messages. Sometimes they are translated, sometimes they are displayed directly in the internal representation, which currently is "databasename/tablename" in the filename-safe encoding. This is inconsistent.

How to repeat:
Search for table->name in the source code.

Suggested fix:
Define a wrapper struct table_name_t and a global function
operator<<(std::ostream&, const table_name_t&)
for displaying table names.
[2 Oct 2014 14:41] Daniel Price
Posted by developer:
 
Fixed as of the upcoming 5.7.6 release, and here's the changelog entry:

"InnoDB" displayed tables names inconsistently in diagnostic messages.
Some messages displayed table names using an internal representation while
other messages displayed table names in a translated form.
[19 Dec 2014 15:11] Daniel Price
Posted by developer:
 
Closing again. The bug was placed back into Documenting status due to a follow-up fix. No change to the existing changelog entry.