Debug info: SQLState: 40001
Error Code: 1205
Message: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Transaction (Process ID 68) was deadlocked on lock | generic waitable object resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
UPDATE mdl_grade_grades SET exported = '1430839089' WHERE id IN ('393678','393679','393681','393676','393682','393683','393684','393685','393686','393677','398990','398991','398993','398988','398994','398995','398996','398997','398998','398989','400177','400178','400180','400175','400181','400182','400183','400184','400185','400176','399190','399191','399193','399188','399194','399195','399196','399197','399198','399189','399703','399704','399706','399701','399707','399708','399709','399710','399711','399702','389490','389491','389493','389488','389494','389495','389496','389497','389498','389489','400125','400126','400128','400123','400129','400130','400131','400132','400133','400124','397305','397306','397308','397303','397309','397310','397311','397312','397313','397304','400438','400439','400441','400436','400442','400443','400444','400445','400446','400437','405631','405632','405634','405629','405635','405636','405637','405638','405639','405630','399047') [array ( 0 => 1430839089, 1 => '393678', 2 => '393679', 3 => '393681', 4 => '393676', 5 => '393682', 6 => '393683', 7 => '393684', 8 => '393685', 9 => '393686', 10 => '393677', 11 => '398990', 12 => '398991', 13 => '398993', 14 => '398988', 15 => '398994', 16 => '398995', 17 => '398996', 18 => '398997', 19 => '398998', 20 => '398989', 21 => '400177', 22 => '400178', 23 => '400180', 24 => '400175', 25 => '400181', 26 => '400182', 27 => '400183', 28 => '400184', 29 => '400185', 30 => '400176', 31 => '399190', 32 => '399191', 33 => '399193', 34 => '399188', 35 => '399194', 36 => '399195', 37 => '399196', 38 => '399197', 39 => '399198', 40 => '399189', 41 => '399703', 42 => '399704', 43 => '399706', 44 => '399701', 45 => '399707', 46 => '399708', 47 => '399709', 48 => '399710', 49 => '399711', 50 => '399702', 51 => '389490', 52 => '389491', 53 => '389493', 54 => '389488', 55 => '389494', 56 => '389495', 57 => '389496', 58 => '389497', 59 => '389498', 60 => '389489', 61 => '400125', 62 => '400126', 63 => '400128', 64 => '400123', 65 => '400129', 66 => '400130', 67 => '400131', 68 => '400132', 69 => '400133', 70 => '400124', 71 => '397305', 72 => '397306', 73 => '397308', 74 => '397303', 75 => '397309', 76 => '397310', 77 => '397311', 78 => '397312', 79 => '397313', 80 => '397304', 81 => '400438', 82 => '400439', 83 => '400441', 84 => '400436', 85 => '400442', 86 => '400443', 87 => '400444', 88 => '400445', 89 => '400446', 90 => '400437', 91 => '405631', 92 => '405632', 93 => '405634', 94 => '405629', 95 => '405635', 96 => '405636', 97 => '405637', 98 => '405638', 99 => '405639', 100 => '405630', 101 => '399047', )] Error code: dmlwriteexception Stack trace: •line 446 of \lib\dml\moodle_database.php: dml_write_exception thrown •line 250 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end() •line 357 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end() •line 757 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->do_query() •line 624 of \grade\export\lib.php: call to sqlsrv_native_moodle_database->execute() •line 657 of \grade\export\lib.php: call to grade_export_update_buffer->flush() •line 101 of \grade\export\xls\grade_export_xls.php: call to grade_export_update_buffer->track() •line 58 of \grade\export\xls\export.php: call to grade_export_xls->print_grades()