Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-461

Can mariadb send CLIENT_DEPRECATE_EOF flag during handshake?

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Won't Do
    • 3.1.7
    • N/A
    • None

    Description

      mysql-connector-c send `CLIENT_DEPRECATE_EOF` flag while mariadb does not.
      mariadb already supports handling ok packets and I'm curious what the reason is to not support sending this flag during initial handshake.

      mariadb-client already parses OK packets when there are no result sets, but due to `CLIENT_DEPRECATE_EOF` set to 0, server does not return OK packets for queries with resultsets.

      Why is this relevant?

      In the ok packets, mysql sends session tracking information which we'd like to use also when there is resultsets.

      Wireshark dump of mariadb-client handshake

      Wireshark dump of mysql-client handshake

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              bibstha Bibek Shrestha
              Votes:
              0 Vote for this issue
              Watchers:
              7 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.