MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
check_ipv4_mapped.inc
1 # Check if ipv4 mapped to ipv6 is available.
2 #
3 # Parameters:
4 # $check_ipv4_mapped_just_check - don't skip the test if IPv4 mapped is unsupported,
5 # just set the variable $check_ipv4_mapped_supported
6 #
7 --disable_query_log
8 --disable_result_log
9 --disable_abort_on_error
10 let $check_ipv4_mapped_supported=1;
11 connect (checkcon123456789a,::FFFF:127.0.0.1,root,,test);
12 if($mysql_errno)
13 {
14  let $check_ipv4_mapped_supported=0;
15  if(!$check_ipv4_mapped_just_check)
16  {
17  skip No mapped IPv4 support;
18  }
19 }
20 connection default;
21 if(!$mysql_errno)
22 {
23  disconnect checkcon123456789a;
24 }
25 --enable_abort_on_error
26 --enable_result_log
27 --enable_query_log
28 # end check
29