Commit 2def71f0 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix mysqld--help to ignore optional engines

parent 7edec121
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
exec $MYSQLD_BOOTSTRAP_CMD --symbolic-links=0 --lower-case-table-names=1 --help --verbose > $MYSQL_TMP_DIR/mysqld--help.txt 2>&1; exec $MYSQLD_BOOTSTRAP_CMD --symbolic-links=0 --lower-case-table-names=1 --help --verbose > $MYSQL_TMP_DIR/mysqld--help.txt 2>&1;
perl; perl;
@skipvars=qw/basedir open-files-limit general-log-file log @skipvars=qw/basedir open-files-limit general-log-file log plugin-dir
log-slow-queries pid-file slow-query-log-file/; log-slow-queries pid-file slow-query-log-file/;
@plugins=qw/innodb ndb ndbcluster safemalloc debug temp-pool ssl des-key-file @plugins=qw/innodb ndb archive blackhole federated partition ndbcluster safemalloc debug temp-pool ssl des-key-file
thread-concurrency super-large-pages mutex-deadlock-detector/; thread-concurrency super-large-pages mutex-deadlock-detector/;
@env=qw/MYSQLTEST_VARDIR MYSQL_TEST_DIR MYSQL_LIBDIR MYSQL_CHARSETSDIR MYSQL_SHAREDIR /; @env=qw/MYSQLTEST_VARDIR MYSQL_TEST_DIR MYSQL_LIBDIR MYSQL_CHARSETSDIR MYSQL_SHAREDIR /;
$re1=join('|', @skipvars, @plugins); $re1=join('|', @skipvars, @plugins);
......
...@@ -1975,7 +1975,7 @@ sub environment_setup { ...@@ -1975,7 +1975,7 @@ sub environment_setup {
$ENV{'DEFAULT_MASTER_PORT'}= $mysqld_variables{'port'}; $ENV{'DEFAULT_MASTER_PORT'}= $mysqld_variables{'port'};
$ENV{'MYSQL_TMP_DIR'}= $opt_tmpdir; $ENV{'MYSQL_TMP_DIR'}= $opt_tmpdir;
$ENV{'MYSQLTEST_VARDIR'}= $opt_vardir; $ENV{'MYSQLTEST_VARDIR'}= $opt_vardir;
$ENV{'MYSQL_LIBDIR'}= "$bindir/lib"; $ENV{'MYSQL_LIBDIR'}= "$basedir/lib";
$ENV{'MYSQL_SHAREDIR'}= $path_language; $ENV{'MYSQL_SHAREDIR'}= $path_language;
$ENV{'MYSQL_CHARSETSDIR'}= $path_charsetsdir; $ENV{'MYSQL_CHARSETSDIR'}= $path_charsetsdir;
......
...@@ -14,8 +14,6 @@ The following options may be given as the first argument: ...@@ -14,8 +14,6 @@ The following options may be given as the first argument:
library, for example exit() from libc.so library, for example exit() from libc.so
-a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode -a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode
will also set transaction isolation level 'serializable'. will also set transaction isolation level 'serializable'.
--archive[=name] Enable or disable ARCHIVE plugin. Possible values are ON,
OFF, FORCE (don't start if the plugin fails to load).
--auto-increment-increment[=#] --auto-increment-increment[=#]
Auto-increment columns are incremented by this Auto-increment columns are incremented by this
--auto-increment-offset[=#] --auto-increment-offset[=#]
...@@ -59,8 +57,6 @@ The following options may be given as the first argument: ...@@ -59,8 +57,6 @@ The following options may be given as the first argument:
The maximum size of a row-based binary log event in The maximum size of a row-based binary log event in
bytes. Rows will be grouped into events smaller than this bytes. Rows will be grouped into events smaller than this
size if possible. The value has to be a multiple of 256. size if possible. The value has to be a multiple of 256.
--blackhole[=name] Enable or disable BLACKHOLE plugin. Possible values are
ON, OFF, FORCE (don't start if the plugin fails to load).
--bootstrap Used by mysql installation scripts. --bootstrap Used by mysql installation scripts.
--bulk-insert-buffer-size=# --bulk-insert-buffer-size=#
Size of tree cache used in bulk insert optimisation. Note Size of tree cache used in bulk insert optimisation. Note
...@@ -147,8 +143,6 @@ The following options may be given as the first argument: ...@@ -147,8 +143,6 @@ The following options may be given as the first argument:
With this option enabled you can run myisamchk to test With this option enabled you can run myisamchk to test
(not repair) tables while the MySQL server is running. (not repair) tables while the MySQL server is running.
Disable with --skip-external-locking. Disable with --skip-external-locking.
--federated[=name] Enable or disable FEDERATED plugin. Possible values are
ON, OFF, FORCE (don't start if the plugin fails to load).
--flush Flush MyISAM tables to disk between SQL commands --flush Flush MyISAM tables to disk between SQL commands
--flush-time=# A dedicated thread is created to flush all tables at the --flush-time=# A dedicated thread is created to flush all tables at the
given interval given interval
...@@ -415,8 +409,6 @@ The following options may be given as the first argument: ...@@ -415,8 +409,6 @@ The following options may be given as the first argument:
is one of {index_merge, index_merge_union, is one of {index_merge, index_merge_union,
index_merge_sort_union, index_merge_intersection} and val index_merge_sort_union, index_merge_intersection} and val
is one of {on, off, default} is one of {on, off, default}
--partition[=name] Enable or disable partition plugin. Possible values are
ON, OFF, FORCE (don't start if the plugin fails to load).
--pid-file=name Pid file used by safe_mysqld --pid-file=name Pid file used by safe_mysqld
--plugin-dir=name Directory for plugins --plugin-dir=name Directory for plugins
--plugin-load=name Optional semicolon-separated list of plugins to load, --plugin-load=name Optional semicolon-separated list of plugins to load,
...@@ -720,7 +712,6 @@ and boolean options {FALSE|TRUE} Value (after reading options) ...@@ -720,7 +712,6 @@ and boolean options {FALSE|TRUE} Value (after reading options)
----------------------------------- -------------------------------------- ----------------------------------- --------------------------------------
abort-slave-event-count 0 abort-slave-event-count 0
allow-suspicious-udfs FALSE allow-suspicious-udfs FALSE
archive ON
auto-increment-increment 1 auto-increment-increment 1
auto-increment-offset 1 auto-increment-offset 1
automatic-sp-privileges TRUE automatic-sp-privileges TRUE
...@@ -730,7 +721,6 @@ bind-address (No default value) ...@@ -730,7 +721,6 @@ bind-address (No default value)
binlog-cache-size 32768 binlog-cache-size 32768
binlog-format STATEMENT binlog-format STATEMENT
binlog-row-event-max-size 1024 binlog-row-event-max-size 1024
blackhole ON
bulk-insert-buffer-size 8388608 bulk-insert-buffer-size 8388608
character-set-client-handshake TRUE character-set-client-handshake TRUE
character-set-filesystem binary character-set-filesystem binary
...@@ -761,7 +751,6 @@ engine-condition-pushdown TRUE ...@@ -761,7 +751,6 @@ engine-condition-pushdown TRUE
event-scheduler OFF event-scheduler OFF
expire-logs-days 0 expire-logs-days 0
external-locking FALSE external-locking FALSE
federated ON
flush FALSE flush FALSE
flush-time 0 flush-time 0
ft-boolean-syntax + -><()~*:""&| ft-boolean-syntax + -><()~*:""&|
...@@ -854,8 +843,6 @@ old-style-user-limits FALSE ...@@ -854,8 +843,6 @@ old-style-user-limits FALSE
optimizer-prune-level 1 optimizer-prune-level 1
optimizer-search-depth 62 optimizer-search-depth 62
optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on
partition ON
plugin-dir MYSQL_LIBDIR/mysql/plugin
plugin-load (No default value) plugin-load (No default value)
port 3306 port 3306
port-open-timeout 0 port-open-timeout 0
......
...@@ -14,8 +14,6 @@ The following options may be given as the first argument: ...@@ -14,8 +14,6 @@ The following options may be given as the first argument:
library, for example exit() from libc.so library, for example exit() from libc.so
-a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode -a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode
will also set transaction isolation level 'serializable'. will also set transaction isolation level 'serializable'.
--archive[=name] Enable or disable ARCHIVE plugin. Possible values are ON,
OFF, FORCE (don't start if the plugin fails to load).
--auto-increment-increment[=#] --auto-increment-increment[=#]
Auto-increment columns are incremented by this Auto-increment columns are incremented by this
--auto-increment-offset[=#] --auto-increment-offset[=#]
...@@ -59,8 +57,6 @@ The following options may be given as the first argument: ...@@ -59,8 +57,6 @@ The following options may be given as the first argument:
The maximum size of a row-based binary log event in The maximum size of a row-based binary log event in
bytes. Rows will be grouped into events smaller than this bytes. Rows will be grouped into events smaller than this
size if possible. The value has to be a multiple of 256. size if possible. The value has to be a multiple of 256.
--blackhole[=name] Enable or disable BLACKHOLE plugin. Possible values are
ON, OFF, FORCE (don't start if the plugin fails to load).
--bootstrap Used by mysql installation scripts. --bootstrap Used by mysql installation scripts.
--bulk-insert-buffer-size=# --bulk-insert-buffer-size=#
Size of tree cache used in bulk insert optimisation. Note Size of tree cache used in bulk insert optimisation. Note
...@@ -147,8 +143,6 @@ The following options may be given as the first argument: ...@@ -147,8 +143,6 @@ The following options may be given as the first argument:
With this option enabled you can run myisamchk to test With this option enabled you can run myisamchk to test
(not repair) tables while the MySQL server is running. (not repair) tables while the MySQL server is running.
Disable with --skip-external-locking. Disable with --skip-external-locking.
--federated[=name] Enable or disable FEDERATED plugin. Possible values are
ON, OFF, FORCE (don't start if the plugin fails to load).
--flush Flush MyISAM tables to disk between SQL commands --flush Flush MyISAM tables to disk between SQL commands
--flush-time=# A dedicated thread is created to flush all tables at the --flush-time=# A dedicated thread is created to flush all tables at the
given interval given interval
...@@ -415,8 +409,6 @@ The following options may be given as the first argument: ...@@ -415,8 +409,6 @@ The following options may be given as the first argument:
is one of {index_merge, index_merge_union, is one of {index_merge, index_merge_union,
index_merge_sort_union, index_merge_intersection} and val index_merge_sort_union, index_merge_intersection} and val
is one of {on, off, default} is one of {on, off, default}
--partition[=name] Enable or disable partition plugin. Possible values are
ON, OFF, FORCE (don't start if the plugin fails to load).
--pid-file=name Pid file used by safe_mysqld --pid-file=name Pid file used by safe_mysqld
--plugin-dir=name Directory for plugins --plugin-dir=name Directory for plugins
--plugin-load=name Optional semicolon-separated list of plugins to load, --plugin-load=name Optional semicolon-separated list of plugins to load,
...@@ -724,7 +716,6 @@ and boolean options {FALSE|TRUE} Value (after reading options) ...@@ -724,7 +716,6 @@ and boolean options {FALSE|TRUE} Value (after reading options)
--------------------------------- ---------------------------------------- --------------------------------- ----------------------------------------
abort-slave-event-count 0 abort-slave-event-count 0
allow-suspicious-udfs FALSE allow-suspicious-udfs FALSE
archive ON
auto-increment-increment 1 auto-increment-increment 1
auto-increment-offset 1 auto-increment-offset 1
automatic-sp-privileges TRUE automatic-sp-privileges TRUE
...@@ -734,7 +725,6 @@ bind-address (No default value) ...@@ -734,7 +725,6 @@ bind-address (No default value)
binlog-cache-size 32768 binlog-cache-size 32768
binlog-format STATEMENT binlog-format STATEMENT
binlog-row-event-max-size 1024 binlog-row-event-max-size 1024
blackhole ON
bulk-insert-buffer-size 8388608 bulk-insert-buffer-size 8388608
character-set-client-handshake TRUE character-set-client-handshake TRUE
character-set-filesystem binary character-set-filesystem binary
...@@ -765,7 +755,6 @@ engine-condition-pushdown TRUE ...@@ -765,7 +755,6 @@ engine-condition-pushdown TRUE
event-scheduler OFF event-scheduler OFF
expire-logs-days 0 expire-logs-days 0
external-locking FALSE external-locking FALSE
federated ON
flush FALSE flush FALSE
flush-time 1800 flush-time 1800
ft-boolean-syntax + -><()~*:""&| ft-boolean-syntax + -><()~*:""&|
...@@ -858,8 +847,6 @@ old-style-user-limits FALSE ...@@ -858,8 +847,6 @@ old-style-user-limits FALSE
optimizer-prune-level 1 optimizer-prune-level 1
optimizer-search-depth 62 optimizer-search-depth 62
optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on
partition ON
plugin-dir MYSQL_LIBDIR/plugin
plugin-load (No default value) plugin-load (No default value)
port 3306 port 3306
port-open-timeout 0 port-open-timeout 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment