diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-12-25 09:58:00 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-12-25 09:58:00 +0100 |
commit | 3b55436dd3711772ff632eaa805b6c19e588b791 (patch) | |
tree | f64d8ab6a25dedb624598e5d6c30c58e1df9a8ca /Bugzilla/DB | |
parent | Bug 952793: Remove HTML4 elements which are obsolete in HTML5 (diff) | |
download | bugzilla-3b55436dd3711772ff632eaa805b6c19e588b791.tar.gz bugzilla-3b55436dd3711772ff632eaa805b6c19e588b791.tar.bz2 bugzilla-3b55436dd3711772ff632eaa805b6c19e588b791.zip |
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
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Mysql.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index 9c636e2b4..fcb3ef889 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -107,6 +107,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; } |