The type of the param
sent through SEND_LONG_DATA
is not set according to the request
#52711
Labels
affects-6.5
affects-7.1
affects-7.5
affects-8.1
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
1. Minimal reproduce step (Required)
Create the table
Prepare the following statement
Execute this statement with
SEND_LONG_DATA
and pass a string parameter . Usually, it can be triggered by using a too long parameter.2. What did you expect to see? (Required)
The json value is a normal string.
3. What did you see instead (Required)
The json value is a opaque blob value, which means the parameter is used as a blob value.
4. What is your TiDB version? (Required)
Nightly.
The wrong code:
TiDB should get the type from
paramTypes
The text was updated successfully, but these errors were encountered: