lp:~bsdemon/myconnpy/fixes

Created by andreypopp and last modified

We are using mysqlconnector library internally in our organization. In this branch we will push fixes for bugs we are found, eventually it will be proposed to merge with main branch.

Get this branch:
bzr branch lp:~bsdemon/myconnpy/fixes
Only andreypopp can upload to this branch. If you are andreypopp please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
andreypopp
Project:
MySQL Connector/Python
Status:
Development

Recent revisions

228. By andreypopp

Removed call overhead on Connection.recv and added specialized error handling

227. By andreypopp

If we have no items in buffer after receive -- it is disconnect

226. By andreypopp

Exception handling in get_charset_info specialized

225. By andreypopp

Fixed description of supported charsets -- should be list.

224. By Geert JM Vanderkelen

Reverting to use regular expressions when parting MySQL version

* It proved way to difficult not to use regular rexpression parsing the MySQL
version.
* Removed 'import weakref'
* Changed copyright notice.

223. By Geert JM Vanderkelen

Optimizing read_lc_string and fixing intread a bit

* utils.read_lc_string() should now be faster since when reading big
strings. Before strings/buffers were copied to much.
* utils.intread() now uses isinstance to check for integer (again)
* Changing copyright notice

222. By Geert JM Vanderkelen

Removing MySQLBase.conn, moving connection to MySQLProtocol

* The connection is now hold only by the MySQLProtocol instances.
* Hanshake is done by the MySQLProtocol instances.
* connections module only does lowlevel socket operations
* Updates test cases.

221. By Geert JM Vanderkelen

Reimplementing protocol.MySQLProtocol

* Started out refactoring MySQLProtocol, but ended up rewriting it
  completely. It is now much simpler and easier to maintain. There
  should also be an increase in performance.
* Classes in the cursor and connection modules had to change as well
  due to many changed of MySQLProtocol
* Changes are for both Python v2 and v3.1.
* Test cases have been updated and MySQLProtocol is now fully tested
  (without the need of connecting to a MySQL server)
* Various other small changes.
* Current unittests are passing.

220. By Geert JM Vanderkelen

Correct test case for bug lp:524668 using Py3k

219. By Geert JM Vanderkelen

Removing socket flags when using UNIX socket

* Py3k: forgot to remove the socket flag setting when connecting using UNIX
sockets.
* Some clean up in MySQLBaseConnection.recv()

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.