~mark-matthews-a/connectorj/5.1

Viewing all changes in revision 1084.

  • Committer: mark.matthews at oracle
  • Date: 2011-08-04 00:01:55 UTC
  • Revision ID: mark.matthews@oracle.com-20110804000155-xj5d8926bz81hqwj
Fix for Bug#61501 - Calling Statement.cancel() on a statement that isn't
    currently executing will cause some later-executed query on the same
    connection to be cancelled unexpectedly. The driver now guards against this
    condition, but it is an underlying server issue. The MySQL statement "KILL QUERY"
    (which is what the driver uses to implement Statement.cancel()) is rather
    non-deterministic, and thus the use of Statement.cancel() should be avoided
    if possible.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: