Comment 1 for bug 1688161

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

The fix is to backport

commit 6f8e0f19de4e60eca8f648a472174aba9baa00b2
Author: Terje Rosten <email address hidden>
Date: Thu Feb 23 16:42:47 2017 +0100

    Bug#25604587 BACKPORT BUG#24947217 TO 5.6 AND 5.7

    Change is needed in MySQL 5.6 and 5.7 as well.

where "24947217" in 8.0 is

commit f5062cc8a9eeba7e546d72b42f7692efac281f11
Author: Steinar H. Gunderson <email address hidden>
Date: Tue Oct 25 10:51:28 2016 +0200

    Bug #24947217: MTR DOES NOT WORK WITH PERL 5.24.0

    Add . to @INC to keep on working with newer Perl.

    Change-Id: I2027f939a23ea4e0b5dc8078b66bfcfe012d8c8d

and

commit f9523b8c8fc66de4b2e3b870874d0dfb30f75d4d
Author: Steinar H. Gunderson <email address hidden>
Date: Wed Dec 14 14:18:48 2016 +0100

    Bug #24947217: MTR DOES NOT WORK WITH PERL 5.24.0

    Add . to @INC to keep on working with newer Perl, also in
    "perl;" blocks in MTR scripts.

    Also fix so that we use "require" instead of "do" in such blocks,
    since "do" quietly ignores errors, making everything much harder
    to debug.

    Change-Id: I542a988c0b5663f2370ccffb4154ba50bd1c6957