Passing query attributes through the MySQL protocol
Extension to the wire format to allow data/metadata
- Track: MySQL devroom
- Room: D.mysql
- Day: Sunday
- Start: 14:30
- End: 15:00
- Video with Q&A: D.mysql
- Video only: D.mysql
- Chat: Join the conversation!
I'll explain the newest addition to the MySQL wire format that allows client applications to pass data in the COM_QUERY command that then can be processed by the server and components in various ways. I'll demonstrate how an audit plugin and the SQL query itself can take advantage of the data passed by the client.
COM_QUERY can now take named binary values parameters. And the server can serve the values of these to components and plugins. As well as the SQL query itself. Let's learn how to prepare these values using the C API and how to process them inside the server.
Speakers
Joro Kodinov |