MariaDB Error 1686 – ER_STORED_FUNCTION_PREVENTS _SWITCH_BINLOG_DIRECT

In this post, you’ll learn more about the MariaDB Error 1686 ER_STORED_FUNCTION_PREVENTS _SWITCH_BINLOG_DIRECT with the details of the error message and why you receive this error

Maria DB Error Description

MariaDB Error 1686 – ER_STORED_FUNCTION_PREVENTS _SWITCH_BINLOG_DIRECT with the sqlState HY000

Error Description for the MariaDB Error ER_STORED_FUNCTION_PREVENTS _SWITCH_BINLOG_DIRECT

Cannot change the binlog direct flag inside a stored function or trigger