TiDB-for-PostgreSQL icon indicating copy to clipboard operation
TiDB-for-PostgreSQL copied to clipboard

Parameter processing in bind message

Open pupillord opened this issue 4 years ago • 0 comments

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 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.

Related Files

server/conn_stmt.go

pupillord avatar Sep 07 '21 08:09 pupillord