[CONJ-548] Batch query execution queries subqueries, which shouldn't be cached Created: 2017-11-07 Updated: 2017-11-20 Resolved: 2017-11-20 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | batch |
| Affects Version/s: | 2.1.2 |
| Fix Version/s: | 2.2.1, 1.7.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Oleksandr Ierenkov | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
When we adding batched query in form of: It seems that result of sub-query somewhere caches, and produces invalid data. Here's test excerpt which also failing: @Test createTable("testNonCachingBatchUpdate1", "col int, val int"); //add 100 data try (PreparedStatement preparedStatement = sharedConnection.prepareStatement( //check results } |