Bug 361158: UTF-8 conversion fails on MySQL 5 (attach_data.id; CHARACTER SET binary NOT NULL)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=justdave git-svn-id: svn://10.0.0.236/trunk@215457 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -577,7 +577,8 @@ EOT
|
||||
$info_sth->execute();
|
||||
while (my $column = $info_sth->fetchrow_hashref) {
|
||||
# If this particular column isn't stored in utf-8
|
||||
if ($column->{Collation} ne 'NULL'
|
||||
if ($column->{Collation}
|
||||
&& $column->{Collation} ne 'NULL'
|
||||
&& $column->{Collation} !~ /utf8/)
|
||||
{
|
||||
my $name = $column->{Field};
|
||||
|
||||
Reference in New Issue
Block a user