lp:~geertjmvdk/+junk/myconnpy-buildbot

Created by Geert JM Vanderkelen and last modified
Get this branch:
bzr branch lp:~geertjmvdk/+junk/myconnpy-buildbot
Only Geert JM Vanderkelen can upload to this branch. If you are Geert JM Vanderkelen please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Geert JM Vanderkelen
Status:
Development

Recent revisions

216. By Geert JM Vanderkelen

Refactoring MySQLBaseConnection.recv()

* Now reading from socket with bufsize 8196 until done.
* Buffering MySQL packets in a deque so consecutive packets are stored.

215. By Geert JM Vanderkelen

Moving packet header parsing into MySQLBaseConnection

* Header parsign was done in MySQLProtocol, but it is better to do it right
when reading from the socket instead.
* Removing MySQLProtocol.handle_header()

214. By Geert JM Vanderkelen

Refactoring utils.read_lc_string_list() back to original

* utils.read_lc_string_list() now uses read_lc_string() again.
* Simplifing read_lc_string().

213. By Geert JM Vanderkelen

Removing unnecessary constants import

212. By Geert JM Vanderkelen

Refactoring methods utils.intread and utils.read_int

* utils.intread() is now much simpler 'fixing' strings (buffer for py3k) to
lengths of 4 or 8 and unpacks it as integer.
* utils.read_int() is using intread().
* Removing int1read, int2read, in3read, int4read and int8read.
* Replacing the removed methods by intread.
* Py3k: protocol.Auth.scramble doesn't need intread() methods.
* Removing test cases for removed methods.

211. By Geert JM Vanderkelen

Refactoring MySQLBase._open_connection

* Making sure that handshaking is done only once.
* Removing handshake-argument from MySQLProtocol.

210. By Geert JM Vanderkelen

Refactoring MySQLProtocol.set_handshake

* Not using regular expressions to get MySQL version out of the handshake
* No need to import module 're' anymore

209. By Geert JM Vanderkelen

Refactoring MySQLBase.set_autocommit

* Refactoring MySQLBase.set_autocommit removing useless check.
* _execute_query() moved from MySQL to MySQLBase

208. By Geert JM Vanderkelen

Optimizing the CharacterSet constant

* Better hardcoding of the character/collation list
* Refactoring the helper methods.

207. By Geert JM Vanderkelen

Adding passwd as connection parameter

* MySQLdb defines passwd as connection argument. We allow this now as well to
make it more compatible.
* Some minor changes to the MySQL.connect() method.

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.