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.
This commit is contained in:
adustman
2006-03-04 23:27:24 +00:00
parent 5a96a76eb0
commit 9e4c5ec971
3 changed files with 4 additions and 6 deletions

View File

@ -37,7 +37,6 @@ class test_MySQLdb(test_capabilities.DatabaseTest):
generator)
def test_SET(self):
if True: return
things = 'ash birch cedar larch pine'.split()
def generator(row, col):
from sets import Set
@ -46,7 +45,6 @@ class test_MySQLdb(test_capabilities.DatabaseTest):
if (row >> i) & 1:
s.add(things[i])
return s
self.debug = True
self.check_data_integrity(
('col1 SET(%s)' % ','.join(["'%s'" % t for t in things]),),
generator)