Mysql-connector-repackaged

Latest version: v0.3.1

Safety actively analyzes 621142 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.2

Bugs fixed:
o lp:701081 - Doesn't install with Python 2.4

0.3.1

Bugs fixed:
o lp:695514 - Infinite recursion when setting connection client_flags
o lp:691836 - Incorrect substitution by cursor.execute when tuple args
contains '%s'

0.3.0

Highlights:
o Python v2.4 support is back.
o Support for compressed protocol.
o Support for SSL connections (when Python's ssl module is available)
o Support for packets which are bigger than 16MB.
o Max allowed packetsize defaults to 1GB.
o Some performance improvements.

Changes:
o Changing code in python2/ and some unittest code to support Python v2.4.
o Max allowed packetsize is now set to the default of 1GB when authenticating.
o It was not possible to read and send big packets (>=16MB).
o (Py2) MySQLConnection.recv() has been refactor and simplified.
o (Py3) MySQLConnection.recv() refactored to use bytearray() instead
of doing string like operations with bytes.
o Adding utils.int8store()
o Fixing utils.read_lc_string() to read big strings.
o (Py3) Optimized utils.read_lc_string_list() using memoryview
o (Py3) Refactored utils.read_lc_int()
o Adding support for the MySQL compressed protocol. To use you need to set
the client constants.ClientFlag.COMPRESS
o Supporting SSL connections when Python's ssl module is available. SSL
certificates and keys can be given during connection using the ssl_ca, ssl_cert, ssl_key=None arguments for MySQLConnection.connect().

0.2.0

Changes:
o Tidy-up and reorganizing the code so we have a clearer separation between
Python v2 and Python v3 code.
o Adding Raw Cursors: The data will be returned to the application as
returned from MySQL. No conversion is done from MySQL data types to
Python types. This allows to get data faster, and do conversion
elsewhere. One can use the 'raw'-parameter when connecting, but
also when instantiating a cursor, e.g. cnx.cursor(raw=True)
o INSERT-statements now use multiple row syntax to optimize inserting lots
of rows. It does this transparently.
o Removed mysql.connector.mysql, moving MySQL to mysql.connector.mysql and
renamed it MySQLConnection.
o MySQLConnection objects have now properties which will directly query MySQL
to get values. Properties are named: autocommit, database, charset,
collation, connection_id, time_zone, sql_mode.
o mysql.connector.connection got a few changes raising a better
exception for socket timeouts, passing when the deque() is empty,
removing some obsolete code, ..
o MySQLConnection.connect() now supports time_zone argument to set the session
time_zone variable when connecting.
o MySQLConnection.connect() now supports the sql_mode argument to set the
session sql_mode variable when connecting. It is good to set this to
'TRADITIONAL', e.g. to have warnings raised as errors.
o It is now possible to set client_flags as a list when connecting.
The list must contain members of constants.ClientFlag and can be made
negative to unset them. E.g. to set FOUND_ROWS and unset PROTOCOL_41
(which gives Handshake Error), you can do following:
connect(client_flags=[ClientFlag.FOUND_ROWS,-ClientFlag.PROTOCOL_41]))
o cursor.MySQLCursor as a property column_names which returns a tuple of
the column names.
o Unit tests now run their own MySQL server instance. It bootstraps a
MySQL datadir, runs the server and stops it, removing all files when
done. See `python unittests.py --help` for options. This makes it
possible to easily tests different MySQL versions pointing to a
different base directory.
o Copyright change to Oracle.

Bugs fixed:
o It was impossible to retrieve big result sets. (bug lp:551533
and lp:586003)
o Some overhead was removed when reading packets send by MySQL.
(Bug lp:584518)
o Config.dbinfo() did not return the port number (Bug lp:598706)
o Alias connect_timeout for connection_timeout (Bug lp:627448)

0.1.5

241: Geert Vanderkelen 2010-05-27
Copyright change to Oracle
240: Geert Vanderkelen 2010-05-27
Critical bug fix: impossible to select big results

0.1.4

238: Geert Vanderkelen 2010-05-20
Fix raising errors
237: Geert Vanderkelen 2010-05-16
Additional fix for bug lp:573274
236: Geert Vanderkelen 2010-05-16
Fixes the operation not being encoded to character set
235: Geert Vanderkelen 2010-05-14
Adding default collations to constants.CharacterSet
234: Geert Vanderkelen 2010-05-13
Improving DATETIME to datetime.datetime conversion
233: Geert Vanderkelen 2010-05-05
Adding support for Multiple Statements using MySQLCusor.execute()
232: Geert Vanderkelen 2010-05-05
Adding new debug output 'mode' to utils._dump_buffer()
231: Geert Vanderkelen 2010-05-05
Adding constants.flag_is_set helper method
230: Geert Vanderkelen 2010-04-29
Removing debug code from MySQLCursor
229: Geert Vanderkelen 2010-04-24
Fixing unittests checking temporal data
228: Geert Vanderkelen 2010-04-23
Updating the ChangeLog for 0.1.4
227: Geert Vanderkelen 2010-04-23
Adding support for multiple results sets returned by stored procedures
226: Geert Vanderkelen 2010-04-20
Fixing compat with 2.5 and get_desc() now works
225: Geert Vanderkelen 2010-04-20
Adding changes done since rev 220
224: Geert Vanderkelen 2010-03-19
Reverting to use regular expressions when parting MySQL version
223: Geert Vanderkelen 2010-03-16
Optimizing read_lc_string and fixing intread a bit
222: Geert Vanderkelen 2010-02-26
Removing MySQLBase.conn, moving connection to MySQLProtocol
221: Geert Vanderkelen 2010-02-26
Reimplementing protocol.MySQLProtocol
220: Geert Vanderkelen 2010-02-22
Correct test case for bug lp:524668 using Py3k
219: Geert Vanderkelen 2010-02-22
Removing socket flags when using UNIX socket
218: Geert Vanderkelen 2010-02-22
Fix parsing MySQL versions which have none-digits
217: Geert Vanderkelen 2010-02-21
Fix test case for Bug499362 to support older versions of MySQL
216: Geert Vanderkelen 2010-02-19
Refactoring MySQLBaseConnection.recv()
215: Geert Vanderkelen 2010-02-18
Moving packet header parsing into MySQLBaseConnection
214: Geert Vanderkelen 2010-02-18
Refactoring utils.read_lc_string_list() back to original
213: Geert Vanderkelen 2010-02-18
Removing unnecessary constants import
212: Geert Vanderkelen 2010-02-18
Refactoring methods utils.intread and utils.read_int
211: Geert Vanderkelen 2010-02-18
Refactoring MySQLBase._open_connection
210: Geert Vanderkelen 2010-02-18
Refactoring MySQLProtocol.set_handshake
209: Geert Vanderkelen 2010-02-18
Refactoring MySQLBase.set_autocommit
208: Geert Vanderkelen 2010-02-17
Optimizing the CharacterSet constant
207: Geert Vanderkelen 2010-02-16
Adding passwd as connection parameter
206: Geert Vanderkelen 2010-02-12
Adding support Cygwin setting socket flags to zero
205: Geert Vanderkelen 2010-02-12
Fix authentication by fixing utils.int1read()
204: Geert Vanderkelen 2010-02-12
Reverting rev200
203: Geert Vanderkelen 2010-02-08
Fix possible problem with socket.error without errno

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.