Bug #23772 warnings about %s format used for LEX_STRING variabls
Submitted: 30 Oct 2006 14:21 Modified: 5 Nov 2007 12:02
Reporter: Hartmut Holzgraefe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.1 OS:Any
Assigned to: CPU Architecture:Any

[30 Oct 2006 14:21] Hartmut Holzgraefe
Description:
There are several warnings about %s used as format string for LEX_STRING values 
(not only in DBUG_PRINT calls) where actually variable.str instead of variable should be used as print argument

How to repeat:
compile 5.1 source with debug enabled

Suggested fix:
add .str to all print arguments mentioned in the warnings
[30 Oct 2006 14:27] 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/14560

ChangeSet@1.2339, 2006-10-30 15:27:12+01:00, hartmut@mysql.com +13 -0
  fixed %s / LEX_STRING uses (Bug #23772)
[5 Nov 2007 12:02] Davi Arnaut
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html