Debug info: SQLState: 40001
Error Code: 1205
Message: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Transaction (Process ID 51) 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 = '1484065058' WHERE id IN ('591562','591563','591564','591565','591566','591567','591568','591569','591570','591571','591572','591573','591574','591575','591576','584987','594195','594196','594197','594198','594199','594200','594201','594202','594203','594204','594205','594206','594207','594208','594209','594210','594211','594212','594213','594214','594215','594216','594217','594218','594219','594220','594221','594222','594223','584986','584968','584970','584971','584972','584973','584974','584975','584976','584977','584978','584979','584980','584981','584982','584983','584969','624073','624074','584985','624113','584988','584984','592375','592376','592377','592378','592379','592380','592381','592382','592383','592384','592385','592386','592387','592388','592389','585867','588730','588731','588732','588733','588734','588735','588736','588737','588738','588739','588740','588741','588742','588743','588744','588745','588746')
[array (
0 => 1484065058,
1 => '591562',
2 => '591563',
3 => '591564',
4 => '591565',
5 => '591566',
6 => '591567',
7 => '591568',
8 => '591569',
9 => '591570',
10 => '591571',
11 => '591572',
12 => '591573',
13 => '591574',
14 => '591575',
15 => '591576',
16 => '584987',
17 => '594195',
18 => '594196',
19 => '594197',
20 => '594198',
21 => '594199',
22 => '594200',
23 => '594201',
24 => '594202',
25 => '594203',
26 => '594204',
27 => '594205',
28 => '594206',
29 => '594207',
30 => '594208',
31 => '594209',
32 => '594210',
33 => '594211',
34 => '594212',
35 => '594213',
36 => '594214',
37 => '594215',
38 => '594216',
39 => '594217',
40 => '594218',
41 => '594219',
42 => '594220',
43 => '594221',
44 => '594222',
45 => '594223',
46 => '584986',
47 => '584968',
48 => '584970',
49 => '584971',
50 => '584972',
51 => '584973',
52 => '584974',
53 => '584975',
54 => '584976',
55 => '584977',
56 => '584978',
57 => '584979',
58 => '584980',
59 => '584981',
60 => '584982',
61 => '584983',
62 => '584969',
63 => '624073',
64 => '624074',
65 => '584985',
66 => '624113',
67 => '584988',
68 => '584984',
69 => '592375',
70 => '592376',
71 => '592377',
72 => '592378',
73 => '592379',
74 => '592380',
75 => '592381',
76 => '592382',
77 => '592383',
78 => '592384',
79 => '592385',
80 => '592386',
81 => '592387',
82 => '592388',
83 => '592389',
84 => '585867',
85 => '588730',
86 => '588731',
87 => '588732',
88 => '588733',
89 => '588734',
90 => '588735',
91 => '588736',
92 => '588737',
93 => '588738',
94 => '588739',
95 => '588740',
96 => '588741',
97 => '588742',
98 => '588743',
99 => '588744',
100 => '588745',
101 => '588746',
)]
Error code: dmlwriteexception
× Stack trace: •line 477 of \lib\dml\moodle_database.php: dml_write_exception thrown
•line 291 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end()
•line 398 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end()
•line 807 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->do_query()
•line 651 of \grade\export\lib.php: call to sqlsrv_native_moodle_database->execute()
•line 684 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()