diff options
author | 2008-01-18 21:56:53 +0000 | |
---|---|---|
committer | 2008-01-18 21:56:53 +0000 | |
commit | 793c103590ff0742b6163dca25cfc6250c68f803 (patch) | |
tree | 854667752ad8e4377c7bc18c2b40177e7f3083da /Bugzilla/Milestone.pm | |
parent | Bug 407402: Make Bugzilla die when data/params doesn't exist, if we're in a CGI. (diff) | |
download | bugzilla-793c103590ff0742b6163dca25cfc6250c68f803.tar.gz bugzilla-793c103590ff0742b6163dca25cfc6250c68f803.tar.bz2 bugzilla-793c103590ff0742b6163dca25cfc6250c68f803.zip |
Bug 408172: [Oracle] Bug lists longer than 1000 bugs fail
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/Milestone.pm')
-rw-r--r-- | Bugzilla/Milestone.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Milestone.pm b/Bugzilla/Milestone.pm index dda04c4f8..fc44cf1af 100644 --- a/Bugzilla/Milestone.pm +++ b/Bugzilla/Milestone.pm @@ -144,7 +144,7 @@ sub remove_from_db { my $timestamp = $dbh->selectrow_array('SELECT NOW()'); $dbh->do('UPDATE bugs SET target_milestone = ?, delta_ts = ? - WHERE bug_id IN (' . join(', ', @$bug_ids) . ')', + WHERE ' . $dbh->sql_in('bug_id', $bug_ids), undef, ($self->product->default_milestone, $timestamp)); require Bugzilla::Bug; |