lp:myconnpy

Created by MySQL Build Team and last modified

*** NOTE ***
As of August 2014 we are no longer publishing Connector/Python on Launchpad. Starting with 2.0, publishing is done on GitHub.
Please see https://github.com/mysql/mysql-connector-python
*** END NOTE ***

Get this branch:
bzr branch lp:myconnpy
Members of Oracle/MySQL Engineering can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Oracle/MySQL Engineering
Project:
MySQL Connector/Python
Status:
Development

Recent revisions

389. By Geert JM Vanderkelen

Release 1.0.10

388. By Geert JM Vanderkelen

BUG#16736916: Fixed FileNotFound with LOAD DATA INFILE

When a non-existing file was used with LOAD DATA INFILE,
a FileNotFound error would be raised. This is fine, except
that later packet would be 'out-of-order'.

We now check if the file is actually readable before
starting to send data. We raise an InterfaceError when
the file is can't be read.

This problem is related to BUG#16369511 so we expanded
the test case for BUG#16369511 instead of creating new one.

387. By Geert JM Vanderkelen

Improvements to Windows Installer and unit tests

The Windows Installer (MSI) has been improved with
nicer dialogs and graphics.

Unit tests for various supporting scripts and utilities have
been improved and corrected where needed.

386. By Geert JM Vanderkelen

BUG#16234441: Fixed shutdown using different shutdown types

The MySQLConnection.cmd_shutdown() method now accepts an
optional shutdown type. A new constants class ShutdownType
was added.

Unit tests updated. No test case for BUG#16234441 added.

385. By Geert JM Vanderkelen

BUG#16316049: Fixed unit testing of SSL

The root, server and client certificates where generated
incorrectly for running unit testing. We have fixed the
script support/ssl/generate.sh and created new keys and
certificates.

384. By Geert JM Vanderkelen

BUG#16369511: Added support for LOAD DATA LOCAL INFILE

It was not possible to execute LOAD DATA LOCAL INFILE
statement. This has now been corrected so Connector/Python
correctly uploads the file to the MySQL server and
populates the table using the CSV data.

For LOAD DATA LOCAL INFILE statements to work, the MySQL
server has to have local_infile turned ON and the
client flag ClientFlag.LOCAL_FILES has to be when setting
up the connection.

Added test case for BUG#16369511.

383. By Geert JM Vanderkelen

BUG#16430013: Removed non-GPL docs from GPL packages

The GPL packages did contain non-GPL documentation. This
could be an issue when Linux distributions would like to
repackage. We have now removed the PDF and other formats
from the GPL packages and point to the online availability
of the manual in the README_DOCS.txt file.

382. By Geert JM Vanderkelen

BUG#16400735: Fixed verification of server certificates

We introduce a new connection argument called
'ssl_verify_cert'. When set to True, it will check
the server certificate with the given certificate
found in the file given by ssl_ca.

A ValueError will be raised when SSL connection
arguments are used, but one or more is missing. Only
ssl_verify_cert is optional and will default to
False.

A test case was added for BUG#16400735 and other
unit tests have been extended or corrected.

381. By Geert JM Vanderkelen

Release 1.0.9

380. By Geert JM Vanderkelen

BUG#16355089: Fixing the RPM packaging

We are now getting the location of Python modules
from distutils.sysconfig. This way we are using the location
where Python would install and it can align with other
projects.

The RPMs do not install mysql/__init__.py, but instead
are creating the file. They are also checking whether they
can remove it in the postuninstall script.

No ChangeLog entry needed.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.