diff options
author | mkanat%bugzilla.org <> | 2009-03-02 02:21:54 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-03-02 02:21:54 +0100 |
commit | a28edf3c2423e748f0919ea7a803324c5b269e40 (patch) | |
tree | 43c64de446c6d0c4f555d5805ae65ac5375ace00 /Bugzilla/Config/Attachment.pm | |
parent | 60900705412d6512db3eb8bae39da50fc5400a7d (diff) | |
download | bugzilla-a28edf3c2423e748f0919ea7a803324c5b269e40.tar.gz bugzilla-a28edf3c2423e748f0919ea7a803324c5b269e40.tar.xz |
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/Config/Attachment.pm')
-rw-r--r-- | Bugzilla/Config/Attachment.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Config/Attachment.pm b/Bugzilla/Config/Attachment.pm index 2b014deda..f22c01d95 100644 --- a/Bugzilla/Config/Attachment.pm +++ b/Bugzilla/Config/Attachment.pm @@ -68,7 +68,7 @@ sub get_param_list { name => 'maxattachmentsize', type => 't', default => '1000', - checker => \&check_numeric + checker => \&check_maxattachmentsize }, # The maximum size (in bytes) for patches and non-patch attachments. |