Bug #93613 Mysql driver loads empty ResultSet from some table on some server.
Submitted: 14 Dec 2018 10:24 Modified: 16 Dec 2018 21:58
Reporter: Konstantin Pavelko Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:5.1.39 OS:Any
Assigned to: Filipe Silva CPU Architecture:Any

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[14 Dec 2018 10:25] Konstantin Pavelko
test application

Attachment: MysqlTestLoad.java (application/octet-stream, text), 2.95 KiB.

[14 Dec 2018 10:26] Konstantin Pavelko
dump with result produced by driver 5.1.38

Attachment: dump.5.1.38.txt (text/plain), 17.29 KiB.

[14 Dec 2018 10:26] Konstantin Pavelko
dump without result produced by driver 5.1.39

Attachment: dump.5.1.39.txt (text/plain), 16.94 KiB.

[14 Dec 2018 10:27] Konstantin Pavelko
dump with result produced by driver 5.1.39. The query was changed: SELECT → sELECT

Attachment: dump.5.1.39s.txt (text/plain), 16.75 KiB.

[14 Dec 2018 10:27] Konstantin Pavelko
dump with result produced by driver 5.1.38

Attachment: staging.5.1.38.pcap (application/octet-stream, text), 8.42 KiB.

[14 Dec 2018 10:27] Konstantin Pavelko
dump without result produced by driver 5.1.39

Attachment: staging.5.1.39.pcap (application/octet-stream, text), 8.15 KiB.

[14 Dec 2018 10:28] Konstantin Pavelko
dump with result produced by driver 5.1.39. The query was changed: SELECT → sELECT

Attachment: staging.5.1.39s.pcap (application/octet-stream, text), 8.14 KiB.

[14 Dec 2018 10:28] Konstantin Pavelko
direct reads from mysql InputStream after query was sent

Attachment: streams.txt (text/plain), 15.48 KiB.