On Fri, Oct 17, 2008 at 04:32:00PM -0700, Toshio Kuratomi wrote:
> Oleg Broytmann wrote:
> > On Fri, Oct 17, 2008 at 03:17:28PM -0700, Toshio Kuratomi wrote:
> >> + if MySQLdb.version_info[:3] >= (1, 2, 1) and
> >> MySQLdb.version_info[:3] < (1, 2, 2):
> >> + self.need_unicode = True
> >> + else:
> >> + self.need_unicode = False
>
> >> + if self.need_unicode and not isinstance(query, unicode):
> >> + try:
> >> + query = unicode(query, self.dbEncoding)
> >> + except UnicodeError:
> >> + pass
Applied and committed in the revisions 3755:3757 to the branches 0.9 and
0.10, and to the trunk. Thank you!
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
------------------------------------------------------------------------------
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss