[CONJ-348] Could not read resultset: unexpected end of stream, read 0 bytes from 4 Created: 2016-09-13 Updated: 2017-01-29 Resolved: 2016-12-23 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 1.3.7, 1.4.6, 1.5.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Juraj Wagner | Assignee: | Diego Dupin |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Client: OS X 10.11.6 with Oracle Java 1.8.0_102 |
||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Observed behavior: Exception in thread "main" java.sql.SQLNonTransientConnectionException: Could not read resultset: unexpected end of stream, read 0 bytes from 4 The code runs without issues when using MySQL Connector/J 5.1.39 and MariaDB Connector/J version 1.2.3 and 1.1.9. |
| Comments |
| Comment by Diego Dupin [ 2016-09-14 ] |
|
Issue confirmed. |
| Comment by Diego Dupin [ 2016-09-14 ] |
|
this occur when using view in a subquery on second execution for a preparedStatement. see link |
| Comment by Juraj Wagner [ 2016-09-14 ] |
|
Thought that I tried setting useServerPrepStmts=false but probably mis-typed the URL. Thanks for the information! |
| Comment by Ruslanas [ 2016-09-26 ] |
|
Hi, Is there separate ticket for that in MariaDB server JIRA to watch? We also have same issue and obviously this is server issue. |
| Comment by Diego Dupin [ 2016-12-21 ] |
|
closed, since issue |
| Comment by Juraj Wagner [ 2016-12-23 ] |
|
Hi Diego, see you marked this as not a bug. This is to say that the defect is not in the CONJ component but on the server side (i.e. Looking at regards, |
| Comment by Diego Dupin [ 2016-12-23 ] |
|
Hi, you are right : it's not a bug for this task, but it is server side. |