Closed Bug 311434 Opened 19 years ago Closed 19 years ago

bz_table_columns should use _bz_real_schema

Categories

(Bugzilla :: Database, defect)

2.19.3
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: mkanat, Assigned: mkanat)

Details

Attachments

(1 file)

For some reason, bz_table_columns uses _bz_schema instead of _bz_real_schema.
The only thing that uses bz_table_columns is globals.pl, and really it should be
using _bz_real_schema in case somebody customizes their database.
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.22
Attached patch v1Splinter Review
This is a super-simple one-line fix, and the subroutine is only used in one
place anyhow.
Attachment #198749 - Flags: review?(bugreport)
For reference, I did actually run into this as a bug while customizing a
Bugzilla for a client, which is why I filed this and posted the patch.
Comment on attachment 198749 [details] [diff] [review]
v1

r=joel by inspection
Attachment #198749 - Flags: review?(bugreport) → review+
Flags: approval?
Flags: approval? → approval+
Checking in Bugzilla/DB.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB.pm,v  <--  DB.pm
new revision: 1.66; previous revision: 1.65
done
Status: ASSIGNED → RESOLVED
Closed: 19 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: