Skip to content

Commit

Permalink
Fixed main.mysqld-help and connect.drop-open-error tests
Browse files Browse the repository at this point in the history
  • Loading branch information
montywi committed Jun 13, 2023
1 parent 5b37d58 commit c4cf5e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion mysql-test/main/mysqld--help.test
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ perl;
# their paths may vary:
@skipvars=qw/basedir open-files-limit general-log-file log plugin-dir plugin-maturity
log-slow-queries pid-file slow-query-log-file log-basename
log-slow-query-file
datadir slave-load-tmpdir tmpdir socket thread-pool-size
large-files-support lower-case-file-system system-time-zone
collation-server character-set-server log-tc-size table-cache
table-open-cache table-open-cache-instances max-connections
tls-version version.* password-reuse-check
provider-bzip2 provider-lzma provider-lzo
password-reuse-check-interval/;

# Plugins which may or may not be there:
Expand All @@ -39,7 +41,8 @@ perl;
query-response-time metadata-lock-info locales unix-socket
wsrep file-key-management cracklib-password-check user-variables
provider-bzip2 provider-lzma provider-lzo
thread-pool-groups thread-pool-queues thread-pool-stats thread-pool-waits/;
thread-pool-groups thread-pool-queues thread-pool-stats
thread-pool-waits hashicorp provider gssapi/;

# And substitute the content some environment variables with their
# names:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ create table tcon engine=connect table_type=mysql CONNECTION='mysql://root@local
ERROR HY000: Too long value for 'SRCDEF'
drop table mdev9949;
Warnings:
Warning 1017 Can't find file: './test/mdev9949.dos' (errno: 2 "No such file or directory")
Warning 1017 Can't find file: 'MYSQLD_DATADIR/test/mdev9949.dos' (errno: 2 "No such file or directory")
drop table t1;
select @@secure_file_priv 'must be NULL';
must be NULL
Expand Down
1 change: 1 addition & 0 deletions storage/connect/mysql-test/connect/t/drop-open-error.test
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ create table tcon engine=connect table_type=mysql CONNECTION='mysql://root@local

# copy the invalid frm (as created by the statement above before the MDEV-9949 fix)
copy_file $MTR_SUITE_DIR/std_data/mdev9949.frm $datadir/test/mdev9949.frm;
--replace_result $datadir MYSQLD_DATADIR/ ./ MYSQLD_DATADIR/
drop table mdev9949;
drop table t1;

Expand Down

0 comments on commit c4cf5e1

Please sign in to comment.