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

Option to cache callablestatement disabled by default

    XMLWordPrintable

    Details

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

      Description

      Option `cacheCallableStmts` is enable by default.
      the default must be disabled by default for different reasons :

      • differ compared to MySQL driver.
      • more important, since using binary protocol when using out parameters, this can lead to having a lot of prepare statements cached in the server without the user knowing it, even resulting reaching max_prepared_stmt_count maximum.

        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: