MariaDB Error 1685 – ER_INSIDE_TRANSACTION _PREVENTS_SWITCH_BINLOG_DIRECT

In this post, you’ll learn more about the MariaDB Error 1685 ER_INSIDE_TRANSACTION _PREVENTS_SWITCH_BINLOG_DIRECT with the details of the error message and why you receive this error

Maria DB Error Description

MariaDB Error 1685 – ER_INSIDE_TRANSACTION _PREVENTS_SWITCH_BINLOG_DIRECT with the sqlState HY000

Error Description for the MariaDB Error ER_INSIDE_TRANSACTION _PREVENTS_SWITCH_BINLOG_DIRECT

Cannot modify @@session.binlog_direct_non_transactional_updates inside a transaction