Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-508

Connection.getCatalog() optimisation for 10.2+ server

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: Other
    • Labels:
      None

      Description

      Since MariaDB 10.2, server now send to driver event he subsribe for.
      When server has this capability, Driver set "session_track_schema" event.
      Driver for Connection.getCatalog() method, must just return current database value, avoiding a round trip.

        Attachments

          Activity

            People

            • Assignee:
              diego dupin Diego Dupin
              Reporter:
              diego dupin Diego Dupin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: