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

Prepare statement cache race condition

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 1.3.2, 1.3.1, 1.3.3, 1.3.4, 1.3.5, 1.3.6
    • 1.3.7
    • Other
    • None

    Description

      A user report an bug in version 1.3.6 producing the following error :

      org.mariadb.jdbc.internal.util.dao.QueryException: Unknown prepared statement handler (16) given to mysqld_stmt_execute
      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult (AbstractQueryProtocol.java:479)
      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executePreparedQuery (AbstractQueryProtocol.java:592)
      at sun.reflect.GeneratedMethodAccessor75.invoke (Unknown source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke (Method.java:497)
      at org.mariadb.jdbc.internal.failover.AbstractMastersListener.invoke (AbstractMastersListener.java:310)
      at org.mariadb.jdbc.internal.failover.FailoverProxy.invoke (FailoverProxy.java:134)
      at com.sun.proxy.$Proxy79.executePreparedQuery (Unknown source)
      at org.mariadb.jdbc.MariaDbServerPreparedStatement.executeInternal (MariaDbServerPreparedStatement.java:279)
      at org.mariadb.jdbc.MariaDbServerPreparedStatement.execute (MariaDbServerPreparedStatement.java:369)
      at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute (ProxyPreparedStatement.java:44)
      at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute (Unknown source)
      at org.skife.jdbi.v2.SQLStatement.internalExecute (SQLStatement.java:1328)
      at org.skife.jdbi.v2.Query.fold (Query.java:173)
      at org.skife.jdbi.v2.Query.first (Query.java:273)
      at org.skife.jdbi.v2.Query.first (Query.java:264)
      at org.skife.jdbi.v2.sqlobject.ResultReturnThing$SingleValueResultReturnThing.result (ResultReturnThing.java:112)
      at org.skife.jdbi.v2.sqlobject.ResultReturnThing.map (ResultReturnThing.java:48)
      at org.skife.jdbi.v2.sqlobject.QueryHandler.invoke (QueryHandler.java:45)
      at org.skife.jdbi.v2.sqlobject.SqlObject.invoke (SqlObject.java:175)
      at org.skife.jdbi.v2.sqlobject.SqlObject$1.intercept (SqlObject.java:75)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.