1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-19 19:03:26 +03:00
Files
mariadb/mysql-test/suite/perfschema/t/hostcache_ipv6_addrinfo_good_deny.test
unknown 5f0d489da8 MDEV-4058
MySQL 5.6.10 performance schema: merge of the test files for the host_cache table
2013-07-03 12:19:03 +03:00

44 lines
1019 B
Plaintext

#
# Tests for the performance_schema host_cache.
#
# Simulate success from DNS full round trip (FCRDNS):
# - IP --> HOST --> IP returns the client IP
# - completes host validation in HOST_VALIDATED
--source include/not_embedded.inc
--source include/have_debug.inc
--source include/have_ipv6.inc
--source include/have_perfschema.inc
flush status;
flush hosts;
select @@global.debug;
connect (con1,"::1",root,,test,$MASTER_MYPORT,);
select "Con1 is alive";
select current_user();
disconnect con1;
--connection default
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
--disable_query_log
--error ER_HOST_NOT_PRIVILEGED
connect (con2,"::1",root,,test,$MASTER_MYPORT,);
--enable_query_log
--connection default
--source ../include/hostcache_dump.inc
--disable_query_log
--error ER_HOST_NOT_PRIVILEGED
connect (con3,"::1",root,,test,$MASTER_MYPORT,);
--enable_query_log
--connection default
--source ../include/hostcache_dump.inc
set global debug_dbug= default;