[CONJ-787] Query run by connector/j lost data with useServerPrepStmts=true Created: 2020-05-08  Updated: 2020-05-14  Resolved: 2020-05-14

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: 2.4.4
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: stone Assignee: Diego Dupin
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

win64


Attachments: Java Source File JdbcFactory.java     Java Source File JdbcRunner.java     File create-testa.sql     File dump-testa-202005081710.sql    

 Description   

I am experiencing issue when query data with useServerPrepStmts=true . In a multithreaded environment, data is lost。just run JdbcRunner



 Comments   
Comment by Diego Dupin [ 2020-05-14 ]

reproduced.

This is a server error when executing prepare statement for the second time.
I'm trying to reduced issue to the minimum and will create server issue.

Comment by Diego Dupin [ 2020-05-14 ]

hmm. I initially reproduced it with one thread, but after a reboot, i cannot reproduced it without multithreads.

Comment by Diego Dupin [ 2020-05-14 ]

I've not been able to reduced scope, but at least know that this comes from server that randomly send wrong data for first row.

so i'm closing the client side issue, please subscribe to https://jira.mariadb.org/browse/MDEV-22559 to follow issue.

Generated at Thu Feb 08 03:18:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.