mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#56375 Ignore socket path since it may vary. Added some comments to
inline perl in the test.
This commit is contained in:
@ -7,15 +7,27 @@
|
|||||||
# force lower-case-table-names=1 (linux/macosx have different defaults)
|
# force lower-case-table-names=1 (linux/macosx have different defaults)
|
||||||
# force symbolic-links=0 (valgrind build has a different default)
|
# force symbolic-links=0 (valgrind build has a different default)
|
||||||
#
|
#
|
||||||
|
|
||||||
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;
|
||||||
|
|
||||||
|
# The inline perl code below will copy $MYSQL_TMP_DIR/mysqld--help.txt
|
||||||
|
# to output, but filter away some variable stuff (e.g. paths).
|
||||||
|
|
||||||
perl;
|
perl;
|
||||||
|
# Variables which we don't want to display in the result file since
|
||||||
|
# their paths may vary:
|
||||||
@skipvars=qw/basedir open-files-limit general-log-file log plugin-dir
|
@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
|
||||||
datadir slave-load-tmpdir tmpdir/;
|
datadir slave-load-tmpdir tmpdir socket/;
|
||||||
|
|
||||||
|
# Plugins which may or may not be there:
|
||||||
@plugins=qw/innodb ndb archive blackhole federated partition ndbcluster debug temp-pool ssl des-key-file
|
@plugins=qw/innodb ndb archive blackhole federated partition ndbcluster debug temp-pool ssl des-key-file
|
||||||
thread-concurrency super-large-pages mutex-deadlock-detector null-audit/;
|
thread-concurrency super-large-pages mutex-deadlock-detector null-audit/;
|
||||||
|
|
||||||
|
# And substitute the content some environment variables with their
|
||||||
|
# names:
|
||||||
@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);
|
||||||
$re2=join('|', @plugins);
|
$re2=join('|', @plugins);
|
||||||
$skip=0;
|
$skip=0;
|
||||||
|
@ -913,7 +913,6 @@ slave-transaction-retries 10
|
|||||||
slave-type-conversions
|
slave-type-conversions
|
||||||
slow-launch-time 2
|
slow-launch-time 2
|
||||||
slow-query-log FALSE
|
slow-query-log FALSE
|
||||||
socket /tmp/mysql.sock
|
|
||||||
sort-buffer-size 2097152
|
sort-buffer-size 2097152
|
||||||
sporadic-binlog-dump-fail FALSE
|
sporadic-binlog-dump-fail FALSE
|
||||||
sql-mode
|
sql-mode
|
||||||
|
Reference in New Issue
Block a user