In the extend query, backend server will get parameter values through the bind messages. And tidb-server will use the datum structure to store the values of these parameters.
The datum is only used to store value of mysql data type and each type will have a different datum to store in TiDB.
We need to parse the bind message and store the parameter values in different datum according to different types. That is to improve the function parseBindArgs.
Development Task
In the extend query, backend server will get parameter values through the bind messages. And tidb-server will use the
datum
structure to store the values of these parameters.The
datum
is only used to store value of mysql data type and each type will have a differentdatum
to store in TiDB.We need to parse the bind message and store the parameter values in different
datum
according to different types. That is to improve the functionparseBindArgs
.Related Files
server/conn_stmt.go