summaryrefslogtreecommitdiff
path: root/mysql-test/main/empty_server_name-8224.test
blob: b15e9d82eb8426708a3faa73d1712105dfd310a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# MDEV-8224 Server crashes in get_server_from_table_to_cache on empty name
#
--source include/not_embedded.inc
create server '' foreign data wrapper w2 options (host '127.0.0.1');
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
--shutdown_server 10
--source include/wait_until_disconnected.inc
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect

-- enable_reconnect
-- source include/wait_until_connected_again.inc
drop server '';