You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2019/02/14 12:17:56 UTC
[ignite] 04/05: No caching for multi-staement.
This is an automated email from the ASF dual-hosted git repository.
vozerov pushed a commit to branch ignite-11310-nodml
in repository https://gitbox.apache.org/repos/asf/ignite.git
commit 3fa65235e6515d27f570436a42d521bac3e1beac
Author: devozerov <vo...@gridgain.com>
AuthorDate: Thu Feb 14 14:53:18 2019 +0300
No caching for multi-staement.
---
.../org/apache/ignite/internal/processors/query/h2/QueryParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/QueryParser.java b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/QueryParser.java
index 496ec0e..54a3bbd 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/QueryParser.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/QueryParser.java
@@ -247,7 +247,7 @@ public class QueryParser {
PreparedStatement stmt;
try {
- stmt = connMgr.prepareStatement(c, qry.getSql());
+ stmt = connMgr.prepareStatementNoCache(c, qry.getSql());
}
catch (SQLException e) {
throw new IgniteSQLException("Failed to parse query. " + e.getMessage(),