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

Handle PrepareStatement.getParameterMetaData() if query cannot be PREPAREd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3, 1.6.2
    • Component/s: metadata
    • Labels:
      None

      Description

      To identify parameter meta data, when useServerPrepStmts=false, driver will execute a COM_STMT_PREPARE (prepare command) so server return parameters informations.

      If query cannot be prepare, a SQL exception will be throw without closing this PREPARE command, creating a leak.

        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: