Closed
Bug 299156
Opened 20 years ago
Closed 20 years ago
Sanitycheck check for submitter ids takes a long time on large sites
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: bugreport, Assigned: bugreport)
References
Details
Attachments
(1 file)
1.96 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
Easy fix... submitter id index should include bug id.
Assignee | ||
Comment 1•20 years ago
|
||
Attachment #187679 -
Flags: review?(mkanat)
Comment 2•20 years ago
|
||
Comment on attachment 187679 [details] [diff] [review]
Add bug_id to the fields in the existing submitter_id index
Great! Looks good, and it tests out correctly on landfill.
>+# 2005-06-29 bugreport@peshkin.net, bug 299156
>+if ($dbh->bz_index_info('attachments', 'attachments_submitter_id_idx')
>+ && (scalar(@{$dbh->bz_index_info('attachments',
>+ 'attachments_submitter_id_idx'
>+ )->{FIELDS}}) < 2)
>+ ) {
Nit: I'd prefer the following spacing:
if ($dbh
&&......................('attachments'
....................
)
So that the parens line up and the && is "inside" the if parens.
Attachment #187679 -
Flags: review?(mkanat) → review+
Comment 3•20 years ago
|
||
(In reply to comment #2)
> So that the parens line up
Oh, never mind about that, they do line up. It just doesn't look like it,
because of the font or something.
Anyhow, this is a simple polish fix that I think is appropriate for a pre-RC
checkin.
Status: NEW → ASSIGNED
Flags: approval?
Target Milestone: --- → Bugzilla 2.20
Comment 4•20 years ago
|
||
What are the impacts of the bug and its fix?
Comment 5•20 years ago
|
||
Err, ignore that last comment; it was intended for a different bug. Simple
polish fix; r=myk for check-in during 2.20 freeze.
Flags: approval? → approval+
![]() |
||
Comment 6•20 years ago
|
||
Could we wait that the two security bugs land before checking this one in? This
one would conflict with one of them and I *really* don't want to update it. :-/
Assignee | ||
Comment 7•20 years ago
|
||
Sure... add a dependency
![]() |
||
Comment 8•20 years ago
|
||
joel, bug 292544 has been checked in...
Assignee | ||
Updated•20 years ago
|
Flags: approval2.20?
Comment 9•20 years ago
|
||
Myk appears to have already approved this for 2.20 in a comment, the flag just
didn't exist yet when he did it.
Flags: approval2.20? → approval2.20+
Assignee | ||
Comment 10•20 years ago
|
||
On HEAD:
Checking in checksetup.pl;
/cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl
new revision: 1.415; previous revision: 1.414
done
Checking in Bugzilla/DB/Schema.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Schema.pm,v <-- Schema.pm
new revision: 1.33; previous revision: 1.32
done
On 2.20 branch:
Checking in checksetup.pl;
/cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl
new revision: 1.412.2.1; previous revision: 1.412
done
Checking in Bugzilla/DB/Schema.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Schema.pm,v <-- Schema.pm
new revision: 1.32.2.1; previous revision: 1.32
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•