diff options
author | mkanat%bugzilla.org <> | 2006-11-20 13:24:25 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-11-20 13:24:25 +0100 |
commit | f8238723b7fbbb73fb2239ee5288d54f3535168b (patch) | |
tree | 1b031bbcc44fd20c3eba2ab42412cd1a87ac01bf /Bugzilla/DB | |
parent | 70e3b6464c5029187ec144aa12fc8b77c03f90c8 (diff) | |
download | bugzilla-f8238723b7fbbb73fb2239ee5288d54f3535168b.tar.gz bugzilla-f8238723b7fbbb73fb2239ee5288d54f3535168b.tar.xz |
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
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Mysql.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index 5dd598dff..5a9a01416 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -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}; |