Closed Bug 1751524 Opened 3 years ago Closed 3 years ago

[MYSQL8] The groups table in Bugzilla conflicts with reserved keyword in MySQL 8.x

Categories

(bugzilla.mozilla.org :: General, enhancement)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

References

Details

Attachments

(1 file)

Will need to investigate workaround on changing the groups table name in all the places.

MySQL supports backticks to quote table names, this should avoid conflicts with reserved words.

eg.

    $object_data = $dbh->selectrow_hashref(
      qq{
            SELECT $columns FROM `$table`
             WHERE $id_field = ?}, undef, $id
    );
Attached file GitHub Pull Request
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 3 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: