Closed Bug 303694 Opened 19 years ago Closed 19 years ago

Eliminate deprecated Bugzilla::DB routines from enter_bug.cgi

Categories

(Bugzilla :: Bugzilla-General, defect)

2.21
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: wicked, Assigned: wicked)

References

Details

Attachments

(1 file)

These lines need to rewritten to use DBI:

enter_bug.cgi:452:       SendSQL("SELECT defaultmilestone FROM products WHERE " .
enter_bug.cgi:453:               "name = " . SqlQuote($product));
enter_bug.cgi:454:       $default{'target_milestone'} = FetchOneColumn();
enter_bug.cgi:469:SendSQL("SELECT votestoconfirm FROM products WHERE name = " .
enter_bug.cgi:470:        SqlQuote($product));
enter_bug.cgi:471:if (FetchOneColumn()) {
enter_bug.cgi:491:SendSQL("SELECT DISTINCT groups.id, groups.name,
groups.description, " .
enter_bug.cgi:499:while (MoreSQLData()) {
enter_bug.cgi:501:        = FetchSQLData();
Attachment #193794 - Flags: review?(LpSolit)
Comment on attachment 193794 [details] [diff] [review]
Remove deprecated SQL code, V1

r=LpSolit
Attachment #193794 - Flags: review?(LpSolit) → review+
Status: NEW → ASSIGNED
Flags: approval?
Target Milestone: --- → Bugzilla 2.22
Flags: approval? → approval+
Checking in enter_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/enter_bug.cgi,v  <--  enter_bug.cgi
new revision: 1.118; previous revision: 1.117
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: