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.52-3 from Redhat 8.0 The compiler said ut0ut.c:59: warning: right shift count >= width of type dict0load.c:340: warning: too many arguments for format 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 Here is an untested patch to shut up the compiler. *** ./innobase/log/log0recv.c.old 2003-01-16 21:46:23.000000000 +0000 --- ./innobase/log/log0recv.c 2003-01-16 21:48:18.000000000 +0000 *************** *** 1381,1387 **** &success); if (!success) { printf( ! "InnoDB: Error: cannot open %lu'th data file %s\n", nth_file); exit(1); } --- 1381,1387 ---- &success); if (!success) { printf( ! "InnoDB: Error: cannot open %lu'th data file %s\n", nth_file, data_files[nth_file]); exit(1); } *************** *** 1398,1404 **** if (!success) { printf( "InnoDB: Error: cannot read page no %lu from %lu'th data file %s\n", ! nth_page_in_file, nth_file); exit(1); } --- 1398,1404 ---- if (!success) { printf( "InnoDB: Error: cannot read page no %lu from %lu'th data file %s\n", ! nth_page_in_file, nth_file, data_files[nth_file]); exit(1); } *************** *** 1426,1432 **** if (!success) { printf( "InnoDB: Error: cannot write page no %lu to %lu'th data file %s\n", ! nth_page_in_file, nth_file); exit(1); } --- 1426,1432 ---- if (!success) { printf( "InnoDB: Error: cannot write page no %lu to %lu'th data file %s\n", ! nth_page_in_file, nth_file, data_files[nth_file]); exit(1); } Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. compile the program 2. 3. Additional info
Yes, these problems still exist in the current production (3.23.55) release. We'll notify upstream.
This has been fixed, according to the bug report, in MySQL 4.0. Please see MySQL bug 287. http://bugs.mysql.com/bug.php?id=287
*** Bug 105840 has been marked as a duplicate of this bug. ***
*** Bug 110767 has been marked as a duplicate of this bug. ***
>This has been fixed, according to the bug report, in MySQL 4.0. But when does MySQL 4.0 get into Fedora ? In Fedora Core 3, the three problems in file log0recv.c still exist. This bug report is nearly two years old and still isn't completely fixed.
It has been fixed but Fedora Core still ships MySQL 3.23 due to legal issues.