5 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
9e4c5ec971 Reverted patch #1387290. It caused char/varchar columns with a binary
collation to return array('c', ...), which should only be returned for
actual BLOB columns.

Figured out how to fix loading SET columns. Bug #1214916.

Cleaned up the SET test.

Removed *.html and *.css files from MANIFEST; their presence (or lack
thereof since they are no longer being packaged) caused RPM builds to
fail, and possibly others.
2006-03-04 23:27:24 +00:00
5a96a76eb0 * Added set_character_set(charset) method to database connections
* Added get_character_set_info() method to database connections

* Added charset option to database connections

* Updated docs, added FAQ

* 1.2.1c6
2006-03-03 04:09:21 +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