Comment 0 for bug 1105726

Revision history for this message
Roel Van de Paar (roel11) wrote : Bitmap related option parsing inconsistencies

$ rm -Rf /tmp/test1; mkdir /tmp/test1/; /ssd/Percona-Server-5.5.28-rel29.3-416-debug.Linux.x86_64/bin/mysqld --no-defaults --bootstrap --basedir=/ssd/Percona-Server-5.5.28-rel29.3-416-debug.Linux.x86_64 --datadir=/tmp/test1 --loose-skip-ndbcluster --tmpdir=. --core-file --lc-messages-dir=/ssd/Percona-Server-5.5.28-rel29.3-416-debug.Linux.x86_64/share --character-sets-dir=/ssd/Percona-Server-5.5.28-rel29.3-416-debug.Linux.x86_64/share/charsets --innodb_track_changed_pages=1

Starts fine:
[...] InnoDB: starting tracking changed pages from LSN 8204 [...]

$ rm -Rf /tmp/test1; mkdir /tmp/test1/; /ssd/Percona-Server-5.5.28-rel29.3-416-debug.Linux.x86_64/bin/mysqld --no-defaults --bootstrap --basedir=/ssd/Percona-Server-5.5.28-rel29.3-416-debug.Linux.x86_64 --datadir=/tmp/test1 --loose-skip-ndbcluster --tmpdir=. --core-file --lc-messages-dir=/ssd/Percona-Server-5.5.28-rel29.3-416-debug.Linux.x86_64/share --character-sets-dir=/ssd/Percona-Server-5.5.28-rel29.3-416-debug.Linux.x86_64/share/charsets --innodb_track_changed_pages=1 --innodb-changed-pages=FORCE

Does not start, and gives:
[...] [ERROR] /ssd/Percona-Server-5.5.28-rel29.3-416-debug.Linux.x86_64/bin/mysqld: Error while setting value 'FORCE' to 'innodb-changed-pages-limit' <------ (!) this is incorrect - why is it referring to "-limit" option which was not used?
130126 16:05:46 [ERROR] Parsing options for plugin 'InnoDB' failed.
130126 16:05:46 [ERROR] /ssd/Percona-Server-5.5.28-rel29.3-416-debug.Linux.x86_64/bin/mysqld: unknown variable 'innodb_track_changed_pages=1' <------ (!) this is incorrect
130126 16:05:46 [ERROR] Aborting [...]

Note the two errors (incorrect report re: innodb_track_changed_pages and incorrect reference to '-limit' variable)

Also; the exact same command line, using "-1" and "200" for "--innodb-changed-pages" starts the server fine. This is another inconsistency.