Commit 4d029e0d authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 870369: An error about longdescs.comment_id is thrown by MySQL 5.1 and older…

Bug 870369: An error about longdescs.comment_id is thrown by MySQL 5.1 and older when upgrading to 4.4 if sql_auto_is_null = 1 r=wicked a=sgreen
parent 7aca6339
...@@ -92,6 +92,10 @@ sub new { ...@@ -92,6 +92,10 @@ sub new {
# into bugs_fulltext). # into bugs_fulltext).
$self->do('SET SESSION group_concat_max_len = 128000000'); $self->do('SET SESSION group_concat_max_len = 128000000');
# MySQL 5.5.2 and older have this variable set to true, which causes
# trouble, see bug 870369.
$self->do('SET SESSION sql_auto_is_null = 0');
return $self; return $self;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment