Table logging does not work in TRANSACTION READ ONLY mode

Description

In TRANSACTION READ ONLY mode, if general logging is enabled and directed to the table, MariaDB does not update the log table, and instead writes error messages in the error log:

bzr version-info (10.0-monty)

It works fine in MySQL 5.6, revno 3917.

Test case:

Output in MariaDB:

Output in MySQL 5.6:

Environment

None

Assignee

Alexey Botchkov

Reporter

Elena Stepanova

Labels

None

Fix versions

Priority

Minor
Configure