Bug #31089 InnoDB unsafe binlog test fails with wrong error
| Submitted: | 18 Sep 2007 21:20 | Modified: | 19 Sep 2007 1:04 |
|---|---|---|---|
| Reporter: | Joshua Kugler (Basic Quality Contributor) | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
| Version: | 5.0.45 | OS: | Linux (Debian Sarge) |
| Assigned to: | Heikki Tuuri | CPU Architecture: | Any |
[18 Sep 2007 21:20]
Joshua Kugler
[18 Sep 2007 23:14]
Joshua Kugler
Corrected Debian version
[19 Sep 2007 1:04]
Joshua Kugler
Upon further investigation, all tests pass if -O0 (no optimization) is used. It seems optimization is breaking something. $ gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-13) Hmm, it turns out this seems to be a gcc related bug. Compiling on Ubuntu Dapper (gcc 4.0.3) with -O3 produces a binary that passes all tests. I'm closing the bug as "not a bug." Sorry for the noise.
[19 Sep 2007 11:54]
Heikki Tuuri
Maybe the test is timing-dependent.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.