Skip to content

Instantly share code, notes, and snippets.

@mudrd8mz
Created September 20, 2011 07:20
Show Gist options
  • Save mudrd8mz/1228554 to your computer and use it in GitHub Desktop.
Save mudrd8mz/1228554 to your computer and use it in GitHub Desktop.
dmlwriteexception thrown in moodle
Debug info: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.
UPDATE mdl_quiz SET grade = ? WHERE id = ?
[array (
0 => 15,
1 => '2',
)]
Stack trace:
line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1056 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1450 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->set_field_select()
line 496 of /mod/quiz/locallib.php: call to moodle_database->set_field()
line 359 of /mod/quiz/edit.php: call to quiz_set_grade()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment