strict_multi_stmt

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.

CHANGE HISTORY

Release Series

History

22.08

  • Present starting in MariaDB MaxScale 22.08.1.

6

  • Present starting in MariaDB MaxScale 6.0.0.

2.5

  • Present starting in MariaDB MaxScale 2.5.0.

2.4

  • Added in MariaDB MaxScale 2.4.1.

Release Series

History

22.08

  • Present starting in MariaDB MaxScale 22.08.1.

6

  • Present starting in MariaDB MaxScale 6.0.0.