[
https://issues.apache.org/jira/browse/IGNITE-10580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16711610#comment-16711610
]
ASF GitHub Bot commented on IGNITE-10580:
-----------------------------------------
GitHub user tledkov-gridgain opened a pull request:
https://github.com/apache/ignite/pull/5592
IGNITE-10580 H2 connection and statements are reused invalid for local sql
queries
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-10580
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/5592.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5592
----
commit 1ebdf5ae5b59a8780003db8a6deac0e2d259bab9
Author: tledkov <tledkov@...>
Date: 2018-12-06T15:41:50Z
IGNITE-10580: add test to reproduce
commit 614d1b194bdb97d83e87893aa3a5462c970bb2c4
Author: tledkov <tledkov@...>
Date: 2018-12-06T15:43:27Z
IGNITE-10580: test cleanup
----
> H2 connection and statements are reused invalid for local sql queries
> ---------------------------------------------------------------------
>
> Key: IGNITE-10580
> URL: https://issues.apache.org/jira/browse/IGNITE-10580
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 2.7
> Reporter: Taras Ledkov
> Assignee: Taras Ledkov
> Priority: Major
> Fix For: 2.8
>
>
> The threadlocal connection & statement cache is used invalid for local
> queries.
> Steps to reproduce:
> # Open iterator for Query0
> # In the same thread open one more iterator for Query1 (SQl statement must be
> equals to Query0 and doesn't contains query parameters)
> # Fetch from the first iterator.
> The exception {{The object is already closed [90007-197]}} will be thrown.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)