Skip to content

Commit 80cc790

Browse files
author
Sven Sandberg
committed
Pre-patch fix: BUG#32368342: UPDATE COPYRIGHT HEADERS TO 2021
Before running the script that updates all copyright headers, fix files that could not be fixed by the script: - Remove copyright headers from some files that should not have them. - Fix wrong privileges for some files. - Fix malformed copyright headers that are hard to match with a line-based regex because they have newlines in the middle. RB#25754, RB#25755, RB#25756
1 parent d1f2d44 commit 80cc790

17 files changed

+7
-95
lines changed

mysql-test/include/bug13581713.inc

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
2-
31
--source include/turn_off_only_full_group_by.inc
42

53
insert into t1 values(100,1,2),(200,1,1),(300,2,1),(400,2,2);

mysql-test/include/server_option_test.pm

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/usr/bin/perl -w
2-
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
3-
# reserved.
42
#
53
# This program is free software; you can redistribute it and/or modify
64
# it under the terms of the GNU General Public License, version 2.0,

mysql-test/suite/memcached/t/memc213_2_intcols.test

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
#
2-
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights
3-
# reserved.
4-
#
5-
61
source include/not_valgrind.inc;
72
source include/have_memcached_plugin.inc;
83
source include/not_windows.inc;

mysql-test/suite/memcached/t/memc234_r_batch_1.test

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#
2-
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3-
#
4-
51
source include/not_valgrind.inc;
62
source include/have_memcached_plugin.inc;
73
source include/not_windows.inc;

mysql-test/suite/memcached/t/memc245_w_batch_2.test

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#
2-
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3-
#
4-
51
source include/not_valgrind.inc;
62
source include/have_memcached_plugin.inc;
73
source include/not_windows.inc;

mysql-test/suite/memcached/t/memc283_misc.test

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#
2-
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3-
#
4-
51
source include/not_valgrind.inc;
62
source include/have_memcached_plugin.inc;
73
source include/not_windows.inc;

mysql-test/suite/memcached/t/memc284_misc.test

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#
2-
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
3-
#
4-
51
source include/not_valgrind.inc;
62
source include/have_memcached_plugin.inc;
73
source include/not_windows.inc;

mysql-test/suite/memcached/t/memc285_FTWRL.test

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
#
2-
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights
3-
# reserved.
4-
#
5-
61
source include/not_valgrind.inc;
72
source include/have_memcached_plugin.inc;
83
source include/not_windows.inc;

mysql-test/suite/memcached/t/memc290_read_committed.test

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
#
2-
## Copyright (c) 2017, Oracle and/or its affiliates. All rights
3-
##reserved.
4-
#
5-
61
# Bug#20205934 - ENABLE VALGRIND FOR MEMCACHED TESTS
72
source include/not_valgrind.inc;
83
source include/have_memcached_plugin.inc;

mysql-test/suite/memcached/t/memc_api_disable_rowlock.test

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#
2-
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
3-
#
4-
51
source include/not_valgrind.inc;
62
source include/have_memcached_plugin.inc;
73
source include/not_windows.inc;

mysql-test/suite/rpl/extension/bhs.pl

-22
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
#!/usr/bin/perl
22

3-
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
4-
#
5-
# This program is free software; you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License, version 2.0,
7-
# as published by the Free Software Foundation.
8-
#
9-
# This program is also distributed with certain software (including
10-
# but not limited to OpenSSL) that is licensed under separate terms,
11-
# as designated in a particular file or component or in included license
12-
# documentation. The authors of MySQL hereby grant you an additional
13-
# permission to link the program and your derivative works with the
14-
# separately licensed software that they have included with MySQL.
15-
#
16-
# This program is distributed in the hope that it will be useful,
17-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19-
# GNU General Public License, version 2.0, for more details.
20-
#
21-
# You should have received a copy of the GNU General Public License
22-
# along with this program; if not, write to the Free Software
23-
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24-
253
use File::Basename;
264
use File::Copy qw(copy);
275
use File::Spec qw(catdir);

mysql-test/suite/rpl/extension/checksum.pl

-22
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
#!/usr/bin/perl
22

3-
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
4-
#
5-
# This program is free software; you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License, version 2.0,
7-
# as published by the Free Software Foundation.
8-
#
9-
# This program is also distributed with certain software (including
10-
# but not limited to OpenSSL) that is licensed under separate terms,
11-
# as designated in a particular file or component or in included license
12-
# documentation. The authors of MySQL hereby grant you an additional
13-
# permission to link the program and your derivative works with the
14-
# separately licensed software that they have included with MySQL.
15-
#
16-
# This program is distributed in the hope that it will be useful,
17-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19-
# GNU General Public License, version 2.0, for more details.
20-
#
21-
# You should have received a copy of the GNU General Public License
22-
# along with this program; if not, write to the Free Software
23-
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24-
253
use File::Basename;
264
use File::Copy qw(copy);
275
use File::Spec qw(catdir);

mysql-test/t/opt_costmodel_warnings.test

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#
2-
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
3-
#
4-
51
#
62
# Test that provides code coverage for the code that checks and handles
73
# entries in the cost constant tables that has invalid values.

storage/archive/azlib.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
-Brian Aker
44
55
This file was modified by Oracle on 02-08-2016.
6-
Modifications copyright (c) 2016, Oracle and/or its affiliates.
7-
All rights reserved.
6+
Modifications copyright (c) 2016, 2021, Oracle and/or its affiliates.
87
*/
98

109
/* zlib.h -- interface of the 'zlib' general purpose compression library

strings/ctype-bin.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* Copyright (c) 2002 MySQL AB & tommy@valley.ne.jp
2-
Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
1+
/* Copyright (c) 2002, tommy@valley.ne.jp
2+
Copyright (c) 2002, 2021, Oracle and/or its affiliates.
33
44
This library is free software; you can redistribute it and/or
55
modify it under the terms of the GNU Library General Public

strings/ctype-eucjpms.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* Copyright (c) 2002 MySQL AB & tommy@valley.ne.jp
2-
Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved.
1+
/* Copyright (c) 2002, tommy@valley.ne.jp
2+
Copyright (c) 2005, 2021, Oracle and/or its affiliates.
33

44
This library is free software; you can redistribute it and/or
55
modify it under the terms of the GNU Library General Public

strings/ctype-ujis.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* Copyright (c) 2002 MySQL AB & tommy@valley.ne.jp
2-
Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved.
1+
/* Copyright (c) 2002, tommy@valley.ne.jp
2+
Copyright (c) 2002, 2021, Oracle and/or its affiliates.
33

44
This library is free software; you can redistribute it and/or
55
modify it under the terms of the GNU Library General Public

0 commit comments

Comments
 (0)