]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 870369: An error about longdescs.comment_id is thrown by MySQL 5.1 and older...
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 25 Dec 2013 08:59:34 +0000 (09:59 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 25 Dec 2013 08:59:34 +0000 (09:59 +0100)
r=wicked a=sgreen

Bugzilla/DB/Mysql.pm

index e9ed13b2bcd87601f675608d0fa728365673377b..c7ce1927a15637a1cf8b5073a2b091e4b71275ee 100644 (file)
@@ -92,6 +92,10 @@ sub new {
     # into bugs_fulltext).
     $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;
 }