Bug #98390 Contribution by Facebook: Better error in comp_err with blank space only lines
Submitted: 25 Jan 2020 18:22 Modified: 20 Jul 2020 16:09
Reporter: FBContrib Admin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version:8.0.17 OS:Any
Assigned to: CPU Architecture:Any

[25 Jan 2020 18:22] FBContrib Admin
Description:
Background innformation provided by Facebook:

The following error message was not formatted well:

    Failed to parse message string for error 'ER_UNSUPPORTED_COLLATION'Failed to parse input file ...    
Use case:

Makes it easier to identify issues in errmsg-utf8.txt

Repo: https://github.com/mysql/mysql-server

Patch on top of 8.0.17: https://github.com/mysql/mysql-server/commit/4869291f7ee

How to repeat:
See description

Suggested fix:
See contribution code attached
[25 Jan 2020 18:22] FBContrib Admin
Better error in comp_err with blank space only lines 
(*) This code is contributed under the Facebook agreement

Contribution: fb_patch_176.txt (text/plain), 934 bytes.

[12 Mar 2020 0:32] Omer Barnir
Thanks Facebook for the contribution
[20 Jul 2020 16:09] Paul DuBois
Posted by developer:
 
Fixed in 8.0.21.

comp_err provides better error messages for certain input file
issues. Thanks to Facebook for the contribution.