Bug #86869 Possible unintended string literal in "object_filter.cc" line 318
Submitted: 29 Jun 2017 11:04 Modified: 29 Jun 2017 12:41
Reporter: Petru-Florin Mihancea Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any

[29 Jun 2017 11:04] Petru-Florin Mihancea
Description:
While experimenting with a CodeSonar plugin we develop, we noticed a potential issue in file "mysql-server/client/dump/object_filter.cc" line 318 function 
create_options.

The string literal 
"include. If there is no exclusions then only included objects will be " 

should be 
"include. If there are no exclusions then only included objects will be "

*there are* and not *there is*.

Thanks,
Petru-Florin Mihancea

How to repeat:
The issue has been detected automatically via static analysis.
[29 Jun 2017 12:41] MySQL Verification Team
Hello Petru,

Thank you for the report and feedback.

Thanks,
Umesh