Mercurial > p > mysql-python > mysqldb-2
diff MySQLdb/converters.py @ 12:d68fe80ce1c3 MySQLdb
More docstrings and doctests for times and other cleanups.
author | adustman |
---|---|
date | Mon, 26 Feb 2007 17:04:04 +0000 (2007-02-26) |
parents | aef6ea6a9737 |
children | 7773efbe9b30 |
line wrap: on
line diff
--- a/MySQLdb/converters.py Mon Feb 26 06:03:45 2007 +0000 +++ b/MySQLdb/converters.py Mon Feb 26 17:04:04 2007 +0000 @@ -114,13 +114,14 @@ dict: escape_dict, InstanceType: instance_to_sql, array.array: array_to_sql, - str: object_to_quoted_sql, # default unicode: unicode_to_sql, object: instance_to_sql, bool: bool_to_sql, datetime.datetime: datetime_to_sql, datetime.timedelta: timedelta_to_sql, Set: Set_to_sql, + str: object_to_quoted_sql, # default + FIELD_TYPE.TINY: int, FIELD_TYPE.SHORT: int, FIELD_TYPE.LONG: long,