Skip to content

Commit 1d31744

Browse files
author
sayantan dutta
committed
Follow-up fix : Bug #18145121 - DEPRECATED PERL SYNTAX IN MTR
(cherry picked from commit 1bfe5f724bc4c24da635f632247e7d263aa53970) Conflicts: mysql-test/lib/mtr_cases.pm
1 parent 67be190 commit 1d31744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysql-test/lib/mtr_cases.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- cperl -*-
2-
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
33
#
44
# This program is free software; you can redistribute it and/or modify
55
# it under the terms of the GNU General Public License as published by
@@ -336,7 +336,7 @@ sub collect_one_suite($)
336336
# Build a hash of disabled testcases for this suite
337337
# ----------------------------------------------------------------------
338338
my %disabled;
339-
my @disabled_collection= @{$opt_skip_test_list} if defined @{$opt_skip_test_list};
339+
my @disabled_collection= @{$opt_skip_test_list} if $opt_skip_test_list;
340340
unshift (@disabled_collection, "$testdir/disabled.def");
341341
for my $skip (@disabled_collection)
342342
{

0 commit comments

Comments
 (0)