Created by s7v7nislands and last modified

improve myconnpy speed.

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

Branch merges

Related bugs

Related blueprints

Branch information

MySQL Connector/Python

Recent revisions

203. By bing <email address hidden>

init only need once

202. By Geert JM Vanderkelen

Adding changelog for 0.1.3-devel

201. By Geert JM Vanderkelen

Using weak references

* Most objects now use weak references: there was no bug or leak which showed
we needed to doso however. Can be revereted.
* Some test cases were updated.
* Some useless imports were removed.

200. By Geert JM Vanderkelen

Moving dict attributes of MySQLConverter to methods

* Replacing dict attributes holding Python/MySQL conversions attributes by
methods in the MySQLConverter class.

199. By Geert JM Vanderkelen

Fixing memory leak when opening cursors

* The registration of cursors happened twice. So when removing there
 was one reference left over.
* Simplying the registration of cursors, removing
* Removing MySQLCursor.protocol, accessing it through MySQLCursor.db
* Some fixes when fetching warnings: incorrect exceptions were raised.
* Updating some test cases.

198. By Geert JM Vanderkelen

Exception raised in protocol module using errors.get_mysql_exception

* Replaced raise_mysql_error with get_mysql_exception which is returning an
exception object based on the errno.
* We use get_mysql_exception in protocol when handling the error, and not
anymore in the Cursor.
* Some correction to errors.Error to message is kept.

197. By Geert JM Vanderkelen

Fixing mysql.Error and simplying

* Fixing the storage of the error message
* Simplying the error message: removing longmsg and other reduant storage

196. By Geert JM Vanderkelen

Adding MySQL server errors and better exceptions (part 1)

* We try to raise appropriate exceptions based on the server errno we get
using the errors.raise_mysql_error()-method.
* Adding server side errno: this will take time to sort out (lots of them!)
* Updating test cases with new exceptions being thrown.

195. By Geert JM Vanderkelen

Fixing rowcount in Cursor executemany() with no-result sets

* executemany will now retain how much rows it has updated. For example, if
one deletes rows using executemany() the total number of rows will be
available through cursor.rowcount. Before, executemany() return the total, but
didn't save it.
* Added test case.

194. By Geert JM Vanderkelen

Using MySQL Client Error messages when connecting

* We are now raising InterfaceError exceptions using MySQL Client Error
messages so it is more clear what the problem was. Also, this is more inline
with other libraries and error message shown by for example, the mysql CLI.

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.