8 Commits

Author SHA1 Message Date
cfd4a94682 Fix for Python 2.5.
Added a unit test for single character columns.

Updated download URL.
2006-10-27 23:33:35 +00:00
94506c4e27 Version 1.2.2b1.
Raise IntegrityError for a couple types of relatively new errors.
(Bug 1327679)

Add BIT column support. (Bug 1468725)

Return BINARY columns as normal strings, not arrays. (Bug 1495765)

Add support for a new VARCHAR type; behaves like other CHAR types.

Defer issuing warnings when using SSCursors. (Bug 1495782)

Do not try to encode query strings unless they are unicode instances.
(Bug 1521274)

Fix problem with callproc() when it is used before execute() (which is
legal). (Bug 1541124)

Fix formatting of datetime.timedelta values. (Bug 1527801)

Fix connect_timeout documentation bug. (Bug 1523883)
2006-08-27 18:02:48 +00:00
afbd55ab46 Bump version. Disable leak checking by default. 2006-04-09 03:25:04 +00:00
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