Skip to content

Commit c590ca5

Browse files
committed
Revert "WL11643: Update copyright source headers and license text"
This reverts commit a22be48.
1 parent 1ea01e8 commit c590ca5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1334
-1731
lines changed

cpyint

examples/dates.py

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,28 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
4+
# MySQL Connector/Python - MySQL driver written in Python.
5+
# Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
6+
7+
# MySQL Connector/Python is licensed under the terms of the GPLv2
8+
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
9+
# MySQL Connectors. There are special exceptions to the terms and
10+
# conditions of the GPLv2 as it is applied to this software, see the
11+
# FOSS License Exception
12+
# <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
513
#
614
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License, version 2.0, as
8-
# published by the Free Software Foundation.
15+
# it under the terms of the GNU General Public License as published by
16+
# the Free Software Foundation.
917
#
10-
# This program is also distributed with certain software (including
11-
# but not limited to OpenSSL) that is licensed under separate terms,
12-
# as designated in a particular file or component or in included license
13-
# documentation. The authors of MySQL hereby grant you an
14-
# additional permission to link the program and your derivative works
15-
# with the separately licensed software that they have included with
16-
# MySQL.
17-
#
18-
# Without limiting anything contained in the foregoing, this file,
19-
# which is part of MySQL Connector/Python, is also subject to the
20-
# Universal FOSS Exception, version 1.0, a copy of which can be found at
21-
# http://oss.oracle.com/licenses/universal-foss-exception.
22-
#
23-
# This program is distributed in the hope that it will be useful, but
24-
# WITHOUT ANY WARRANTY; without even the implied warranty of
25-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26-
# See the GNU General Public License, version 2.0, for more details.
18+
# This program is distributed in the hope that it will be useful,
19+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
# GNU General Public License for more details.
2722
#
2823
# You should have received a copy of the GNU General Public License
29-
# along with this program; if not, write to the Free Software Foundation, Inc.,
30-
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24+
# along with this program; if not, write to the Free Software
25+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3126

3227
"""
3328

examples/engines.py

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,28 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
4+
# MySQL Connector/Python - MySQL driver written in Python.
5+
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
6+
7+
# MySQL Connector/Python is licensed under the terms of the GPLv2
8+
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
9+
# MySQL Connectors. There are special exceptions to the terms and
10+
# conditions of the GPLv2 as it is applied to this software, see the
11+
# FOSS License Exception
12+
# <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
513
#
614
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License, version 2.0, as
8-
# published by the Free Software Foundation.
9-
#
10-
# This program is also distributed with certain software (including
11-
# but not limited to OpenSSL) that is licensed under separate terms,
12-
# as designated in a particular file or component or in included license
13-
# documentation. The authors of MySQL hereby grant you an
14-
# additional permission to link the program and your derivative works
15-
# with the separately licensed software that they have included with
16-
# MySQL.
17-
#
18-
# Without limiting anything contained in the foregoing, this file,
19-
# which is part of MySQL Connector/Python, is also subject to the
20-
# Universal FOSS Exception, version 1.0, a copy of which can be found at
21-
# http://oss.oracle.com/licenses/universal-foss-exception.
15+
# it under the terms of the GNU General Public License as published by
16+
# the Free Software Foundation.
2217
#
23-
# This program is distributed in the hope that it will be useful, but
24-
# WITHOUT ANY WARRANTY; without even the implied warranty of
25-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26-
# See the GNU General Public License, version 2.0, for more details.
18+
# This program is distributed in the hope that it will be useful,
19+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
# GNU General Public License for more details.
2722
#
2823
# You should have received a copy of the GNU General Public License
29-
# along with this program; if not, write to the Free Software Foundation, Inc.,
30-
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24+
# along with this program; if not, write to the Free Software
25+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3126

3227
"""
3328

examples/inserts.py

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,28 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
4+
# MySQL Connector/Python - MySQL driver written in Python.
5+
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
6+
7+
# MySQL Connector/Python is licensed under the terms of the GPLv2
8+
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
9+
# MySQL Connectors. There are special exceptions to the terms and
10+
# conditions of the GPLv2 as it is applied to this software, see the
11+
# FOSS License Exception
12+
# <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
513
#
614
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License, version 2.0, as
8-
# published by the Free Software Foundation.
15+
# it under the terms of the GNU General Public License as published by
16+
# the Free Software Foundation.
917
#
10-
# This program is also distributed with certain software (including
11-
# but not limited to OpenSSL) that is licensed under separate terms,
12-
# as designated in a particular file or component or in included license
13-
# documentation. The authors of MySQL hereby grant you an
14-
# additional permission to link the program and your derivative works
15-
# with the separately licensed software that they have included with
16-
# MySQL.
17-
#
18-
# Without limiting anything contained in the foregoing, this file,
19-
# which is part of MySQL Connector/Python, is also subject to the
20-
# Universal FOSS Exception, version 1.0, a copy of which can be found at
21-
# http://oss.oracle.com/licenses/universal-foss-exception.
22-
#
23-
# This program is distributed in the hope that it will be useful, but
24-
# WITHOUT ANY WARRANTY; without even the implied warranty of
25-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26-
# See the GNU General Public License, version 2.0, for more details.
18+
# This program is distributed in the hope that it will be useful,
19+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
# GNU General Public License for more details.
2722
#
2823
# You should have received a copy of the GNU General Public License
29-
# along with this program; if not, write to the Free Software Foundation, Inc.,
30-
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24+
# along with this program; if not, write to the Free Software
25+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3126

3227
"""
3328
Example using MySQL Connector/Python showing:

examples/microseconds.py

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,28 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
4+
# MySQL Connector/Python - MySQL driver written in Python.
5+
# Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
6+
7+
# MySQL Connector/Python is licensed under the terms of the GPLv2
8+
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
9+
# MySQL Connectors. There are special exceptions to the terms and
10+
# conditions of the GPLv2 as it is applied to this software, see the
11+
# FOSS License Exception
12+
# <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
513
#
614
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License, version 2.0, as
8-
# published by the Free Software Foundation.
9-
#
10-
# This program is also distributed with certain software (including
11-
# but not limited to OpenSSL) that is licensed under separate terms,
12-
# as designated in a particular file or component or in included license
13-
# documentation. The authors of MySQL hereby grant you an
14-
# additional permission to link the program and your derivative works
15-
# with the separately licensed software that they have included with
16-
# MySQL.
17-
#
18-
# Without limiting anything contained in the foregoing, this file,
19-
# which is part of MySQL Connector/Python, is also subject to the
20-
# Universal FOSS Exception, version 1.0, a copy of which can be found at
21-
# http://oss.oracle.com/licenses/universal-foss-exception.
15+
# it under the terms of the GNU General Public License as published by
16+
# the Free Software Foundation.
2217
#
23-
# This program is distributed in the hope that it will be useful, but
24-
# WITHOUT ANY WARRANTY; without even the implied warranty of
25-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26-
# See the GNU General Public License, version 2.0, for more details.
18+
# This program is distributed in the hope that it will be useful,
19+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
# GNU General Public License for more details.
2722
#
2823
# You should have received a copy of the GNU General Public License
29-
# along with this program; if not, write to the Free Software Foundation, Inc.,
30-
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24+
# along with this program; if not, write to the Free Software
25+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3126

3227
"""
3328
Example using MySQL Connector/Python showing:

examples/multi_resultsets.py

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,28 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
4+
# MySQL Connector/Python - MySQL driver written in Python.
5+
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
6+
7+
# MySQL Connector/Python is licensed under the terms of the GPLv2
8+
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
9+
# MySQL Connectors. There are special exceptions to the terms and
10+
# conditions of the GPLv2 as it is applied to this software, see the
11+
# FOSS License Exception
12+
# <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
513
#
614
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License, version 2.0, as
8-
# published by the Free Software Foundation.
15+
# it under the terms of the GNU General Public License as published by
16+
# the Free Software Foundation.
917
#
10-
# This program is also distributed with certain software (including
11-
# but not limited to OpenSSL) that is licensed under separate terms,
12-
# as designated in a particular file or component or in included license
13-
# documentation. The authors of MySQL hereby grant you an
14-
# additional permission to link the program and your derivative works
15-
# with the separately licensed software that they have included with
16-
# MySQL.
17-
#
18-
# Without limiting anything contained in the foregoing, this file,
19-
# which is part of MySQL Connector/Python, is also subject to the
20-
# Universal FOSS Exception, version 1.0, a copy of which can be found at
21-
# http://oss.oracle.com/licenses/universal-foss-exception.
22-
#
23-
# This program is distributed in the hope that it will be useful, but
24-
# WITHOUT ANY WARRANTY; without even the implied warranty of
25-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26-
# See the GNU General Public License, version 2.0, for more details.
18+
# This program is distributed in the hope that it will be useful,
19+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
# GNU General Public License for more details.
2722
#
2823
# You should have received a copy of the GNU General Public License
29-
# along with this program; if not, write to the Free Software Foundation, Inc.,
30-
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24+
# along with this program; if not, write to the Free Software
25+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3126

3227
"""
3328

examples/mysql_warnings.py

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,28 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
4+
# MySQL Connector/Python - MySQL driver written in Python.
5+
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
6+
7+
# MySQL Connector/Python is licensed under the terms of the GPLv2
8+
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
9+
# MySQL Connectors. There are special exceptions to the terms and
10+
# conditions of the GPLv2 as it is applied to this software, see the
11+
# FOSS License Exception
12+
# <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
513
#
614
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License, version 2.0, as
8-
# published by the Free Software Foundation.
9-
#
10-
# This program is also distributed with certain software (including
11-
# but not limited to OpenSSL) that is licensed under separate terms,
12-
# as designated in a particular file or component or in included license
13-
# documentation. The authors of MySQL hereby grant you an
14-
# additional permission to link the program and your derivative works
15-
# with the separately licensed software that they have included with
16-
# MySQL.
17-
#
18-
# Without limiting anything contained in the foregoing, this file,
19-
# which is part of MySQL Connector/Python, is also subject to the
20-
# Universal FOSS Exception, version 1.0, a copy of which can be found at
21-
# http://oss.oracle.com/licenses/universal-foss-exception.
15+
# it under the terms of the GNU General Public License as published by
16+
# the Free Software Foundation.
2217
#
23-
# This program is distributed in the hope that it will be useful, but
24-
# WITHOUT ANY WARRANTY; without even the implied warranty of
25-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26-
# See the GNU General Public License, version 2.0, for more details.
18+
# This program is distributed in the hope that it will be useful,
19+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
# GNU General Public License for more details.
2722
#
2823
# You should have received a copy of the GNU General Public License
29-
# along with this program; if not, write to the Free Software Foundation, Inc.,
30-
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24+
# along with this program; if not, write to the Free Software
25+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3126

3227
"""
3328

examples/prepared_statements.py

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,28 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
# Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
4+
# MySQL Connector/Python - MySQL driver written in Python.
5+
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
6+
7+
# MySQL Connector/Python is licensed under the terms of the GPLv2
8+
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
9+
# MySQL Connectors. There are special exceptions to the terms and
10+
# conditions of the GPLv2 as it is applied to this software, see the
11+
# FOSS License Exception
12+
# <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
513
#
614
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License, version 2.0, as
8-
# published by the Free Software Foundation.
15+
# it under the terms of the GNU General Public License as published by
16+
# the Free Software Foundation.
917
#
10-
# This program is also distributed with certain software (including
11-
# but not limited to OpenSSL) that is licensed under separate terms,
12-
# as designated in a particular file or component or in included license
13-
# documentation. The authors of MySQL hereby grant you an
14-
# additional permission to link the program and your derivative works
15-
# with the separately licensed software that they have included with
16-
# MySQL.
17-
#
18-
# Without limiting anything contained in the foregoing, this file,
19-
# which is part of MySQL Connector/Python, is also subject to the
20-
# Universal FOSS Exception, version 1.0, a copy of which can be found at
21-
# http://oss.oracle.com/licenses/universal-foss-exception.
22-
#
23-
# This program is distributed in the hope that it will be useful, but
24-
# WITHOUT ANY WARRANTY; without even the implied warranty of
25-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26-
# See the GNU General Public License, version 2.0, for more details.
18+
# This program is distributed in the hope that it will be useful,
19+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
# GNU General Public License for more details.
2722
#
2823
# You should have received a copy of the GNU General Public License
29-
# along with this program; if not, write to the Free Software Foundation, Inc.,
30-
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31-
24+
# along with this program; if not, write to the Free Software
25+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3226
"""Example using MySQL Prepared Statements
3327
3428
Example using MySQL Connector/Python showing:

0 commit comments

Comments
 (0)