strict_multi_stmt
This page is part of MariaDB's Documentation.
The parent of this page is: Module Parameters for MariaDB MaxScale
Topics on this page:
Overview
Routes multi-statement queries to the Primary Server.
DETAILS
In cases where a client attempts to execute a multi-statement query, it can create issues where a write operation among the statements is routed to the Replica Server rather than to the Primary. This module parameter causes multi-statement queries to always route to the Primary Server, ensuring a consistent session state. Enable this module parameter in cases where multi-statement queries will cause an inconsistent session.