diff options
author | mkanat%bugzilla.org <> | 2009-03-02 01:21:54 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-03-02 01:21:54 +0000 |
commit | a28edf3c2423e748f0919ea7a803324c5b269e40 (patch) | |
tree | 43c64de446c6d0c4f555d5805ae65ac5375ace00 /Bugzilla/Install | |
parent | 60900705412d6512db3eb8bae39da50fc5400a7d (diff) | |
download | bugs-a28edf3c2423e748f0919ea7a803324c5b269e40.tar bugs-a28edf3c2423e748f0919ea7a803324c5b269e40.tar.gz bugs-a28edf3c2423e748f0919ea7a803324c5b269e40.tar.bz2 bugs-a28edf3c2423e748f0919ea7a803324c5b269e40.tar.xz bugs-a28edf3c2423e748f0919ea7a803324c5b269e40.zip |
Bug 480001: MySQL 5.1.31 throws an error when you try to SET SESSION max_allowed_packet (and previous versions of MySQL were just ignoring the SET SESSION), so just warn people if their max_allowed_packet is too small
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r-- | Bugzilla/Install/DB.pm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 44ad4c814..ff949f58e 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -3074,11 +3074,6 @@ sub _populate_bugs_fulltext { if (UNIVERSAL::can($dbh, 'sql_group_concat')) { print "Populating bugs_fulltext..."; print " (this can take a long time.)\n"; - # XXX This hack should probably be moved elsewhere. - if ($dbh->isa('Bugzilla::DB::Mysql')) { - $dbh->do('SET SESSION group_concat_max_len = 128000000'); - $dbh->do('SET SESSION max_allowed_packet = 128000000'); - } $dbh->do( q{INSERT INTO bugs_fulltext (bug_id, short_desc, comments, comments_noprivate) |