Bug #46043 | mysqld --skip-innodb does not skip InnoDB | ||
---|---|---|---|
Submitted: | 8 Jul 2009 15:21 | Modified: | 1 Aug 2010 22:30 |
Reporter: | Guilhem Bichot | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.1-bzr | OS: | Solaris (solaris 64bit and OS X PPC) |
Assigned to: | Kristofer Pettersson | CPU Architecture: | Any |
[8 Jul 2009 15:21]
Guilhem Bichot
[8 Jul 2009 16:16]
Guilhem Bichot
Bug is independent of --bootstrap: [gb221825@takk-z3]~/sol10sparc64/mysql-5.1.37-solaris10-sparc/libexec: ./mysqld --skip-networking --skip-grant-tables --datadir=./tmp --language=../share/mysql/english --skip-innodb 090708 18:12:27 [Note] Plugin 'FEDERATED' is disabled. 090708 18:12:27 [Note] Plugin 'ndbcluster' is disabled. InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! This makes the bug more likely to affect users. And it plagues the testsuite of the summit->azalea merge's testsuite. By the way there is this old bug report BUG#41010 - enum-style command-line options are not honoured which is also about plugin option handling, and which is specific of 64-bit big-endian... Maybe it would be time to look into both bugs.
[9 Jul 2009 11:56]
Guilhem Bichot
I verified the bug with the latest 5.1: joro@sun.com-20090708131116-kyz8iotbum8w9yic so the bug is not cured by revision-id: kristofer.pettersson@sun.com-20090625135526-pn1mqv48st28qe3z timestamp: Thu 2009-06-25 15:55:26 +0200 message: Bug#45336 --enable-foobar doesn't work for any plugin foobar. Because of a regression introduced by bug#19027 the option --enable-foobar doesn't work anymore for any plugin 'foobar'. The reason is that plugin names are tristate options variables with optional parameters and integer values are not accepted. Since the 'enable' prefix attempts to assign '1' to the option the operation fails. This patch translates any number n assigned to a plugin variable of type ENUM to be the corresponding enumerated item. As a side effect --enable-foobar and --disable-foobar will also start working again. I notice that skip-innodb does not work (innodb is not skipped) but innodb=OFF works (innodb is skipped). However according to the comments in BUG#19027, skip-innodb should work: "--disable-plugin_name and --skip-plugin_name are still supported and are the same as --plugin_name=OFF", so it's a bug that skip-innodb does not work.
[6 Nov 2009 16:09]
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/89631 3189 Kristofer Pettersson 2009-11-06 Bug#46043 mysqld --skip-innodb does not skip InnoDB The prefix --skip- didn't work on 64 bit big endian machines because of how the value pointer was casted.
[9 Nov 2009 10:48]
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/89761 3189 Kristofer Pettersson 2009-11-09 Bug#46043 mysqld --skip-innodb does not skip InnoDB The prefix --skip- didn't work on 64 bit big endian machines because of how the value pointer was casted. @ mysys/my_getopt.c * Split if-statement; The value pointer must correspond to the type mask or it will break on big endian platforms.
[9 Nov 2009 22:29]
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/89867 3189 Kristofer Pettersson 2009-11-09 Bug#46043 mysqld --skip-innodb does not skip InnoDB The prefix --skip- didn't work on 64 bit big endian machines because of how the value pointer was casted. @ mysys/my_getopt.c * Use the interface! The value pointer must correspond to the type mask or it will break on big endian platforms.
[2 Dec 2009 8:20]
Georgi Kodinov
Pushed into 5.1.42
[10 Dec 2009 2:26]
Paul DuBois
Noted in 5.1.42 changelog. On 64-bit systems, --skip-innodb did not skip InnoDB startup. Setting report to NDI pending push to 5.5.x+.
[16 Dec 2009 8:41]
Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091216083311-xorsasf5kopjxshf) (version source revid:alik@sun.com-20091214191830-wznm8245ku8xo702) (merge vers: 6.0.14-alpha) (pib:14)
[16 Dec 2009 16:23]
Paul DuBois
Noted in 6.0.14 changelog. Setting report to NDI pending push to 5.5.x.
[22 Dec 2009 2:04]
Davi Arnaut
Bug#49851 has been closed as a duplicate of this one
[1 Aug 2010 22:31]
Paul DuBois
Noted in 5.5.0 changelog.