Bug 105840
| Summary: | mysql bad source code | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | d.binderman |
| Component: | mysql | Assignee: | Patrick Macdonald <patrickm> |
| Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 18:58:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This is a duplicate of bug #82189 (which you opened against 8.0). Anyway, the MySQL folks are aware of the problem, have patched it in 4.0 but do not feel the need to patch it in 3.23.x. Please refer to 82189 for the proper MySQL bug. *** This bug has been marked as a duplicate of 82189 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
From Bugzilla Helper: User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk (Win98; I) Description of problem: Hello there, I just tried to compile package mysql-3.23.54a-11 from Redhat 9.0 with compiler flag -Wall. The compiler said log0recv.c:1384: warning: too few arguments for format log0recv.c:1401: warning: too few arguments for format log0recv.c:1429: warning: too few arguments for format The source codes are printf( "InnoDB: Error: cannot open %lu'th data file %s\n", nth_file); and printf( "InnoDB: Error: cannot read page no %lu from %lu'th data file %s\n", nth_page_in_file, nth_file); and printf( "InnoDB: Error: cannot write page no %lu to %lu'th data file %s\n", nth_page_in_file, nth_file); All these printf statements are clearly wrong at compile time. You may consider it prudent to fix them. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. compile with -Wall. 2. 3. Additional info