| Bug #119042 | Typo in bind_address.inc reports IPv6 status to IPv4 | ||
|---|---|---|---|
| Submitted: | 19 Sep 8:24 | Modified: | 19 Sep 16:15 |
| Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Tests | Severity: | S7 (Test Cases) |
| Version: | 9.4.0 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[19 Sep 16:15]
MySQL Verification Team
Thanks for the report!

Description: mysql-test/include/bind_address.inc has the following structure: my $ipv4_failed = 0; foreach my $ip (@ipv4_addresses) { my $rc = .. ... $ipv4_failed |= $rc; ... repeated ... } ... foreach my $ip (@ipv6_addresses) { my $rc = ... ... $ipv4_failed |= $rc; ... my $rc = ... $ipv6_failed |= $rc; } ... As you can see, the first mention of _failed variable in the IPv6 loop has a typo How to repeat: Read the code Suggested fix: Change to $ipv6_failed