diff options
author | bugreport%peshkin.net <> | 2005-08-27 08:11:30 +0200 |
---|---|---|
committer | bugreport%peshkin.net <> | 2005-08-27 08:11:30 +0200 |
commit | bc7607c1c4e31b9583a6a772c41567c1b1928e6d (patch) | |
tree | 3b370d740050b6bb2ec9013f374802585170f409 /Bugzilla/Attachment.pm | |
parent | d8a52b79b5b12e2e002614bc0aea343a9a535258 (diff) | |
download | bugzilla-bc7607c1c4e31b9583a6a772c41567c1b1928e6d.tar.gz bugzilla-bc7607c1c4e31b9583a6a772c41567c1b1928e6d.tar.xz |
Bug 305333: Move attachments.thedata to its own table
Patch by Joel Peshkin <bugreport@peshkin.net>
r=lpsolit, a=justdave
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r-- | Bugzilla/Attachment.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 78f4ceed5..558d7f8bc 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -78,6 +78,8 @@ sub query isobsolete, isprivate, LENGTH(thedata), submitter_id FROM attachments + INNER JOIN attach_data + ON id = attach_id WHERE bug_id = ? ORDER BY attach_id", undef, $bugid); |