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

Pooling used with useServerPrepStmts and useResetConnection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.1, 1.7.1
    • Component/s: pooling
    • Labels:
      None

      Description

      When activating "useResetConnection", when connection is given back to pool, connection is reset. Part of that reset consist of removing existing Prepare commands, so, if prepStmtCacheSize is > 0 (default) and useResetConnection is enable (not default), then if query is in cache, query won't be reprepared, resulting in an error 'Unknown prepared statement handler (xxx) given to mysqld_stmt_execute"

        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:

                Git Integration