Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Actual client side prepared statement parse query to detect question mark parameters in query.
This parsing use String.toCharArray(). Since java 9 and String compaction that can have internal representation in latin1 or utf-16, this now required calculation to get char array.
A better solution is to get utf8 byte representation of commands and simply parse parameters indexes. This will avoids toCharArray and substring use.