diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-01-05 13:55:58 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-01-05 13:55:58 +0100 |
commit | 2def71f0c163cd13c30fcc54b66a7580b61485a5 (patch) | |
tree | 6b21ae0a44b213828d47033c7540cda41c13d42b /mysql-test | |
parent | 7edec1218595cf98edaac99a4abe6645cd2dbee2 (diff) | |
download | mariadb-git-2def71f0c163cd13c30fcc54b66a7580b61485a5.tar.gz |
Fix mysqld--help to ignore optional engines
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/include/mysqld--help.inc | 4 | ||||
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 2 | ||||
-rw-r--r-- | mysql-test/r/mysqld--help-notwin.result | 13 | ||||
-rw-r--r-- | mysql-test/r/mysqld--help-win.result | 13 |
4 files changed, 3 insertions, 29 deletions
diff --git a/mysql-test/include/mysqld--help.inc b/mysql-test/include/mysqld--help.inc index d2ae312406f..630d16d4dee 100644 --- a/mysql-test/include/mysqld--help.inc +++ b/mysql-test/include/mysqld--help.inc @@ -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; 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/; - @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/; @env=qw/MYSQLTEST_VARDIR MYSQL_TEST_DIR MYSQL_LIBDIR MYSQL_CHARSETSDIR MYSQL_SHAREDIR /; $re1=join('|', @skipvars, @plugins); diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 3c423712ab9..81adcb49a33 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -1975,7 +1975,7 @@ sub environment_setup { $ENV{'DEFAULT_MASTER_PORT'}= $mysqld_variables{'port'}; $ENV{'MYSQL_TMP_DIR'}= $opt_tmpdir; $ENV{'MYSQLTEST_VARDIR'}= $opt_vardir; - $ENV{'MYSQL_LIBDIR'}= "$bindir/lib"; + $ENV{'MYSQL_LIBDIR'}= "$basedir/lib"; $ENV{'MYSQL_SHAREDIR'}= $path_language; $ENV{'MYSQL_CHARSETSDIR'}= $path_charsetsdir; diff --git a/mysql-test/r/mysqld--help-notwin.result b/mysql-test/r/mysqld--help-notwin.result index 0ebd3e2cb42..b3c162d82d3 100644 --- a/mysql-test/r/mysqld--help-notwin.result +++ b/mysql-test/r/mysqld--help-notwin.result @@ -14,8 +14,6 @@ The following options may be given as the first argument: library, for example exit() from libc.so -a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode 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 columns are incremented by this --auto-increment-offset[=#] @@ -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 bytes. Rows will be grouped into events smaller than this 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. --bulk-insert-buffer-size=# Size of tree cache used in bulk insert optimisation. Note @@ -147,8 +143,6 @@ The following options may be given as the first argument: With this option enabled you can run myisamchk to test (not repair) tables while the MySQL server is running. 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-time=# A dedicated thread is created to flush all tables at the given interval @@ -415,8 +409,6 @@ The following options may be given as the first argument: is one of {index_merge, index_merge_union, index_merge_sort_union, index_merge_intersection} and val 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 --plugin-dir=name Directory for plugins --plugin-load=name Optional semicolon-separated list of plugins to load, @@ -720,7 +712,6 @@ and boolean options {FALSE|TRUE} Value (after reading options) ----------------------------------- -------------------------------------- abort-slave-event-count 0 allow-suspicious-udfs FALSE -archive ON auto-increment-increment 1 auto-increment-offset 1 automatic-sp-privileges TRUE @@ -730,7 +721,6 @@ bind-address (No default value) binlog-cache-size 32768 binlog-format STATEMENT binlog-row-event-max-size 1024 -blackhole ON bulk-insert-buffer-size 8388608 character-set-client-handshake TRUE character-set-filesystem binary @@ -761,7 +751,6 @@ engine-condition-pushdown TRUE event-scheduler OFF expire-logs-days 0 external-locking FALSE -federated ON flush FALSE flush-time 0 ft-boolean-syntax + -><()~*:""&| @@ -854,8 +843,6 @@ old-style-user-limits FALSE optimizer-prune-level 1 optimizer-search-depth 62 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) port 3306 port-open-timeout 0 diff --git a/mysql-test/r/mysqld--help-win.result b/mysql-test/r/mysqld--help-win.result index b42cb522c41..dfaf33f301d 100644 --- a/mysql-test/r/mysqld--help-win.result +++ b/mysql-test/r/mysqld--help-win.result @@ -14,8 +14,6 @@ The following options may be given as the first argument: library, for example exit() from libc.so -a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode 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 columns are incremented by this --auto-increment-offset[=#] @@ -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 bytes. Rows will be grouped into events smaller than this 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. --bulk-insert-buffer-size=# Size of tree cache used in bulk insert optimisation. Note @@ -147,8 +143,6 @@ The following options may be given as the first argument: With this option enabled you can run myisamchk to test (not repair) tables while the MySQL server is running. 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-time=# A dedicated thread is created to flush all tables at the given interval @@ -415,8 +409,6 @@ The following options may be given as the first argument: is one of {index_merge, index_merge_union, index_merge_sort_union, index_merge_intersection} and val 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 --plugin-dir=name Directory for plugins --plugin-load=name Optional semicolon-separated list of plugins to load, @@ -724,7 +716,6 @@ and boolean options {FALSE|TRUE} Value (after reading options) --------------------------------- ---------------------------------------- abort-slave-event-count 0 allow-suspicious-udfs FALSE -archive ON auto-increment-increment 1 auto-increment-offset 1 automatic-sp-privileges TRUE @@ -734,7 +725,6 @@ bind-address (No default value) binlog-cache-size 32768 binlog-format STATEMENT binlog-row-event-max-size 1024 -blackhole ON bulk-insert-buffer-size 8388608 character-set-client-handshake TRUE character-set-filesystem binary @@ -765,7 +755,6 @@ engine-condition-pushdown TRUE event-scheduler OFF expire-logs-days 0 external-locking FALSE -federated ON flush FALSE flush-time 1800 ft-boolean-syntax + -><()~*:""&| @@ -858,8 +847,6 @@ old-style-user-limits FALSE optimizer-prune-level 1 optimizer-search-depth 62 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) port 3306 port-open-timeout 0 |