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

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Won't Do
    • Affects Version/s: 3.1.7
    • Fix Version/s: N/A
    • Component/s: None
    • Labels:

      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

              Assignee:
              georg Georg Richter
              Reporter:
              bibstha Bibek Shrestha
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration