forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-84532 qtype_ordering: Fix failing query in mssql on upgrade
The SELECT statement can only include columns that are part of the GROUP BY clause. To resolve this issue, instead of including all columns ('*'), only the 'id' column is now included in the SELECT statement, while still preserving the existing GROUP BY statement. This column is the only one needed to identify the relevant qtype_ordering_options record that requires updating in the next step.
- Loading branch information
Mihail Geshoski
committed
Feb 24, 2025
1 parent
5a8b259
commit d617d8b
Showing
1 changed file
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters