Closed Bug 432726 Opened 17 years ago Closed 17 years ago

[Oracle] DROP INDEX doesn't hash the index name

Categories

(Bugzilla :: Database, defect)

3.1.4
defect
Not set
major

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: mkanat, Assigned: mkanat)

Details

Attachments

(1 file, 1 obsolete file)

Oracle hashes index names to keep identifiers under Oracle's length limit. However, when dropping an index, Bugzilla doesn't correctly hash the name, so the index doesn't get dropped.
Flags: blocking3.2+
Attached patch v1 (obsolete) — Splinter Review
I'm pretty sure this fixes it. I just have to test it a bit more thoroughly and then I'll probably grant myself review if nobody else looks at this.
Assignee: database → mkanat
Status: NEW → ASSIGNED
Attachment #319881 - Flags: review?
Attached patch v2Splinter Review
Further testing shows that this one works, v1 doesn't. :-) Granting myself review as approved by justdave (even though we're frozen).
Attachment #319881 - Attachment is obsolete: true
Attachment #319884 - Flags: review+
Attachment #319881 - Flags: review?
Checking in Bugzilla/DB/Schema/Oracle.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Schema/Oracle.pm,v <-- Oracle.pm new revision: 1.5; previous revision: 1.4 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: approval+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: