Skip to content

Don't issue SET NAMES for MariaDB #1236

Open
@bgrainger

Description

@bgrainger

When MySqlConnector performs a connection reset, it also issues a SET NAMES statement (see #66) to work around https://bugs.mysql.com/bug.php?id=97633.

MariaDB doesn't have this bug: https://jira.mariadb.org/browse/MDEV-18281.

Although we currently have pipelining (#1089) which avoids multiple round trips, it may still improve efficiency slightly to detect MariaDB and skip the SET NAMES packet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bgrainger

        Issue actions

          Don't issue `SET NAMES` for MariaDB · Issue #1236 · mysql-net/MySqlConnector