Closed Bug 290414 Opened 20 years ago Closed 20 years ago

bz_index_info is slightly broken and has unclear API

Categories

(Bugzilla :: Installation & Upgrading, defect, P1)

2.19.2
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(1 file)

bz_index_info claims that it will always return a hashref, but it doesn't. It should, though. Also, it dies if a table exists, but there are no indexes on that table. Instead, it should just return undef.
OK, actually, the API didn't say one way or the other, but we're going to clarify that it should always return a hashref.
Status: NEW → ASSIGNED
Priority: -- → P1
Summary: bz_index_info does not conform to its API documentation → bz_index_info is slightly broken and has unclear API
Target Milestone: --- → Bugzilla 2.20
And our one last part of bug 285722 before we actually tackle the bug itself.
Attachment #180768 - Flags: review?(Tomas.Kopal)
Attachment #180768 - Flags: review?(Tomas.Kopal) → review+
Flags: approval?
Flags: approval? → approval+
Checking in Bugzilla/DB.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB.pm,v <-- DB.pm new revision: 1.46; previous revision: 1.45 done Checking in Bugzilla/DB/Schema.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Schema.pm,v <-- Schema.pm new revision: 1.22; previous revision: 1.21 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.

Attachment

General

Created:
Updated:
Size: