-
Bug
-
Resolution: Fixed
-
Critical
-
3.5
-
MOODLE_35_STABLE
-
MOODLE_35_STABLE
-
MDL-61605 adds a unique index to quiz_overview_regrades.
We thought at the time that this could not cause unique_key errors, but it seems we thought wrong: See https://moodle.org/mod/forum/discuss.php?d=371745.
Default exception handler: DDL sql execution error Debug: Duplicate entry '530578-13' for key 'mdl_quizoverregr_queslo_uix'
|
|
CREATE UNIQUE INDEX mdl_quizoverregr_queslo_uix ON mdl_quiz_overview_regrades (questionusageid, slot)
|
|
Error code: ddlexecuteerror
|
|
* line 492 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
|
* line 1041 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
|
* line 77 of /lib/ddl/database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
|
* line 756 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
|
* line 52 of /mod/quiz/report/overview/db/upgrade.php: call to database_manager->add_key()
|
* line 632 of /lib/upgradelib.php: call to xmldb_quiz_overview_upgrade()
|
* line 1857 of /lib/upgradelib.php: call to upgrade_plugins()
|
* line 182 of /admin/cli/upgrade.php: call to upgrade_noncore()
|
- has a non-specific relationship to
-
MDLSITE-5478 CiBoT needs a grammar lesson (less/fewer)
- Closed
- is a regression caused by
-
MDL-61605 Improve quiz report performance by adding index on questionusageid in quiz_overview_regrades
- Closed