Skip to content

Commit a22be48

Browse files
committed
WL11643: Update copyright source headers and license text
1 parent 30cd233 commit a22be48

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

+1731
-1334
lines changed

cpyint

examples/dates.py

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

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>.
4+
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
135
#
146
# This program is free software; you can redistribute it and/or modify
15-
# it under the terms of the GNU General Public License as published by
16-
# the Free Software Foundation.
7+
# it under the terms of the GNU General Public License, version 2.0, as
8+
# published by the Free Software Foundation.
179
#
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.
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.
2227
#
2328
# You should have received a copy of the GNU General Public License
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
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
2631

2732
"""
2833

examples/engines.py

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

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>.
4+
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
135
#
146
# This program is free software; you can redistribute it and/or modify
15-
# it under the terms of the GNU General Public License as published by
16-
# the Free Software Foundation.
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.
1722
#
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.
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.
2227
#
2328
# You should have received a copy of the GNU General Public License
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
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
2631

2732
"""
2833

examples/inserts.py

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

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>.
4+
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
135
#
146
# This program is free software; you can redistribute it and/or modify
15-
# it under the terms of the GNU General Public License as published by
16-
# the Free Software Foundation.
7+
# it under the terms of the GNU General Public License, version 2.0, as
8+
# published by the Free Software Foundation.
179
#
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.
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.
2227
#
2328
# You should have received a copy of the GNU General Public License
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
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
2631

2732
"""
2833
Example using MySQL Connector/Python showing:

examples/microseconds.py

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

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>.
4+
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
135
#
146
# This program is free software; you can redistribute it and/or modify
15-
# it under the terms of the GNU General Public License as published by
16-
# the Free Software Foundation.
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.
1722
#
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.
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.
2227
#
2328
# You should have received a copy of the GNU General Public License
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
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
2631

2732
"""
2833
Example using MySQL Connector/Python showing:

examples/multi_resultsets.py

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

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>.
4+
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
135
#
146
# This program is free software; you can redistribute it and/or modify
15-
# it under the terms of the GNU General Public License as published by
16-
# the Free Software Foundation.
7+
# it under the terms of the GNU General Public License, version 2.0, as
8+
# published by the Free Software Foundation.
179
#
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.
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.
2227
#
2328
# You should have received a copy of the GNU General Public License
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
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
2631

2732
"""
2833

examples/mysql_warnings.py

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

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>.
4+
# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
135
#
146
# This program is free software; you can redistribute it and/or modify
15-
# it under the terms of the GNU General Public License as published by
16-
# the Free Software Foundation.
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.
1722
#
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.
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.
2227
#
2328
# You should have received a copy of the GNU General Public License
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
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
2631

2732
"""
2833

examples/prepared_statements.py

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

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>.
4+
# Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
135
#
146
# This program is free software; you can redistribute it and/or modify
15-
# it under the terms of the GNU General Public License as published by
16-
# the Free Software Foundation.
7+
# it under the terms of the GNU General Public License, version 2.0, as
8+
# published by the Free Software Foundation.
179
#
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.
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.
2227
#
2328
# You should have received a copy of the GNU General Public License
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
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+
2632
"""Example using MySQL Prepared Statements
2733
2834
Example using MySQL Connector/Python showing:

0 commit comments

Comments
 (0)