2021-07-19 13:06:50 +05:30
|
|
|
--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
|
|
|
|
|
|
|
|
--write_file $MYSQLTEST_VARDIR/tmp/tmp2.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 -c $MYSQLTEST_VARDIR/tmp/tmp2.cnf --mysqld mysql.server
|
|
|
|
|
|
|
|
--remove_file $MYSQLTEST_VARDIR/tmp/tmp1.cnf
|
2021-07-23 16:21:48 +05:30
|
|
|
--remove_file $MYSQLTEST_VARDIR/tmp/tmp2.cnf
|