4 Commits

Author SHA1 Message Date
426d27d4ae Fix some inconsistent spacing.
Try to fix some memory leaks. I think cursors don't leak any more
but I've had no luck with connections. If you close your connections
you should be fine, even if you don't close your cursors.
2006-03-28 05:03:35 +00:00
3c3ef08720 Added a bunch of new error codes to MySQLdb.constants.ER (complete for
MySQL-5.0).

Mapped some new error codes to DataError, which has always existed,
but never had anything mapped to it.

Cleaned set_character_set() a bit.

Added new connection option sql_mode and correspond set_sql_mode()
method.
2006-03-06 05:28:05 +00:00
c93adbedd4 * Add metadata.cfg and site.cfg to MANIFEST.in so they get packaged
* Remove version_info from metadata before calling setup() to avoid
  complaints

* Fix cursor.callproc() as good as can be fixed.

* Improve/fix various tests for stored procedures.
2006-03-02 04:19:32 +00:00
d9e78275c6 Add the DB API unit tester for MySQLdb 2006-02-25 03:43:47 +00:00