mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
31 lines
1 KiB
Text
31 lines
1 KiB
Text
# Copyright (C) 2009 SUN Microsystems
|
|
# All rights reserved. Use is subject to license terms.
|
|
# Author: Horst Hunger
|
|
# Nov. 19, 2009
|
|
# Test of ipv4 (127.0.0.1) in ipv6 format
|
|
# Options: --skip-name-resolve, --bind-address=0.0.0.0 (see corresponding opt file).
|
|
#
|
|
# For windows due to missing the mixed format like 0::0000:FFFF:127.0.0.1
|
|
--source include/windows.inc
|
|
# Can't be tested with embedded server
|
|
--source include/not_embedded.inc
|
|
|
|
# Save the initial number of concurrent sessions
|
|
--source include/count_sessions.inc
|
|
|
|
echo =============Test of '127.0.0.1' (IPv4) ===========================;
|
|
let $IPv6= 127.0.0.1;
|
|
--source include/ipv6_clients.inc
|
|
--source include/ipv6.inc
|
|
|
|
echo =============Test of '::1' ========================;
|
|
let $IPv6= ::1;
|
|
--echo connect (con1, $IPv6, root, , test, MASTER_MYPORT);
|
|
--disable_query_log
|
|
--error 2003,2006
|
|
connect (con1, $IPv6, root, , test, $MASTER_MYPORT);
|
|
--enable_query_log
|
|
connection default;
|
|
|
|
# Wait till all disconnects are completed
|
|
--source include/wait_until_count_sessions.inc
|