Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-32875

Unreliable autocommit flag on connection creation

Details

    Description

      Client can relies on all command ending packet (OK_PACKET/EOF_PACKET) server status to always know if server is configured to have autocommit enable or not.

      Problem is that the very first connection resulting ending OK_PACKET, always have SERVER_STATUS_AUTOCOMMIT set, even if server is configured with `autocommit=0`.

      Simple patch is joined

      Attachments

        Issue Links

          Activity

            diego dupin Diego Dupin created issue -
            diego dupin Diego Dupin made changes -
            Field Original Value New Value
            Attachment MDEV-32875.patch [ 72605 ]
            diego dupin Diego Dupin made changes -
            Description Client can relies on all command ending packet (OK_PACKET/EOF_PACKET) [server status|https://mariadb.com/kb/en/ok_packet/#server-status-flag] to always know if server is configured to have autocommit enable or not.

            That is true, but the the very first connection resulting ending OK_PACKET, that always have SERVER_STATUS_AUTOCOMMIT set, even if server is configured with `autocommit=0`.

            Simple patch is joined

            Client can relies on all command ending packet (OK_PACKET/EOF_PACKET) [server status|https://mariadb.com/kb/en/ok_packet/#server-status-flag] to always know if server is configured to have autocommit enable or not.

            That is true, but the the very first connection resulting ending OK_PACKET, always have SERVER_STATUS_AUTOCOMMIT set, even if server is configured with `autocommit=0`.

            Simple patch is joined

            diego dupin Diego Dupin made changes -
            Description Client can relies on all command ending packet (OK_PACKET/EOF_PACKET) [server status|https://mariadb.com/kb/en/ok_packet/#server-status-flag] to always know if server is configured to have autocommit enable or not.

            That is true, but the the very first connection resulting ending OK_PACKET, always have SERVER_STATUS_AUTOCOMMIT set, even if server is configured with `autocommit=0`.

            Simple patch is joined

            Client can relies on all command ending packet (OK_PACKET/EOF_PACKET) [server status|https://mariadb.com/kb/en/ok_packet/#server-status-flag] to always know if server is configured to have autocommit enable or not.

            Problem is that the very first connection resulting ending OK_PACKET, always have SERVER_STATUS_AUTOCOMMIT set, even if server is configured with `autocommit=0`.

            Simple patch is joined

            diego dupin Diego Dupin made changes -
            Summary Unreliable autocommit flag on connect Unreliable autocommit flag on connection creation
            serg Sergei Golubchik made changes -
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.6 [ 24028 ]
            serg Sergei Golubchik made changes -
            Assignee Vladislav Vaintroub [ wlad ]
            wlad Vladislav Vaintroub made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            wlad Vladislav Vaintroub made changes -
            issue.field.resolutiondate 2023-11-24 19:19:30.0 2023-11-24 19:19:30.392
            wlad Vladislav Vaintroub made changes -
            Component/s Server [ 13907 ]
            Fix Version/s 10.4.33 [ 29516 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.6 [ 24028 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            JIraAutomate JiraAutomate made changes -
            Fix Version/s 10.5.24 [ 29517 ]
            Fix Version/s 10.6.17 [ 29518 ]
            Fix Version/s 10.11.7 [ 29519 ]
            Fix Version/s 11.0.5 [ 29520 ]
            Fix Version/s 11.1.4 [ 29024 ]
            Fix Version/s 11.2.3 [ 29521 ]
            diego dupin Diego Dupin made changes -
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 173911

            People

              wlad Vladislav Vaintroub
              diego dupin Diego Dupin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.