Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
MDEV-24248: my_print_defaults is not taking all the values when using -e
option which is called from mysql.server (extra_args). Fix: change mysql.server script to use --defaults-extra-file instead of -e
- Loading branch information
1 parent
3529405
commit f88d130
Showing
3 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # | ||
| # Beginning of 10.5 Test | ||
| # | ||
| # | ||
| # MDEV-24248: my_print_defaults is not taking all the values when using | ||
| # -e option which is called from mysql.server (extra_args). | ||
| # | ||
| # checking for mysql.server | ||
| --key_buffer_size=20M | ||
| --max_allowed_packet=250M | ||
| --table_open_cache=1000 | ||
| --table_definition_cache=2000 | ||
| --read_buffer_size=1M | ||
| --thread_cache_size=8 | ||
| --max_connections=1024 | ||
| --long_query_time=60 | ||
| --slow_query_log=1 | ||
| # End of 10.5 test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --echo # | ||
| --echo # Beginning of 10.5 Test | ||
| --echo # | ||
| --echo # | ||
| --echo # MDEV-24248: my_print_defaults is not taking all the values when using | ||
| --echo # -e option which is called from mysql.server (extra_args). | ||
| --echo # | ||
|
|
||
| --echo # checking for mysql.server | ||
|
|
||
| --write_file $MYSQLTEST_VARDIR/tmp/tmp1.cnf | ||
|
|
||
| [mariadb] | ||
| key_buffer_size=20M | ||
| max_allowed_packet=250M | ||
| table_open_cache=1000 | ||
| table_definition_cache=2000 | ||
| read_buffer_size=1M | ||
| thread_cache_size=8 | ||
| max_connections=1024 | ||
| long_query_time=60 | ||
| slow_query_log=1 | ||
| EOF | ||
|
|
||
| --exec $MYSQL_MY_PRINT_DEFAULTS --defaults-extra-file=$MYSQLTEST_VARDIR/tmp/tmp1.cnf --mysqld mysql.server | ||
|
|
||
| --remove_file $MYSQLTEST_VARDIR/tmp/tmp1.cnf | ||
|
|
||
| --echo # End of 10.5 test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters