Closed Bug 289999 Opened 20 years ago Closed 20 years ago

$bad_names hash in index-renaming code throws an "odd number of elements" warning

Categories

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

2.19.2

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(1 file, 1 obsolete file)

When I was coding for bug 78276, I realized that instead of having the
$bad_names hash keys point to a list, they need to point to an arrayref. It
seems like perl is interpreting my list as additional key/value pairs.
The only actually bad effect of this bug is that people who were using CVS might
not have had one or two indexes renamed properly.

It won't affect any released version.
Severity: normal → minor
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.20
Hey Jouni. This is a pretty straightforward patch, and you reviewed the
original code. Care to take a look at this one?
Attachment #180447 - Flags: review?(jouni)
OK, I decided that I'd rather just have this patch in, because it makes stuff
broken, and I want to fix that *before* modifying the code in any other way.
:-)
Attachment #180447 - Attachment is obsolete: true
Attachment #180682 - Flags: review?(bugzilla)
Attachment #180447 - Flags: review?(jouni)
Blocks: 78276, 290277
No longer depends on: 78276
Comment on attachment 180682 [details] [diff] [review]
Change to have no dependencies

r=glob by inspection
Attachment #180682 - Flags: review?(bugzilla) → review+
Flags: approval?
Flags: approval? → approval+
Checking in Bugzilla/DB/Mysql.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Mysql.pm,v  <--  Mysql.pm
new revision: 1.12; previous revision: 1.11
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: