Passing query attributes through the MySQL protocol
summary
Describes an extension to the MySQL wire protocol that adds named binary value parameters to COM_QUERY so clients can pass data/metadata alongside SQL. Shows how to prepare and send these parameters from the C API and how the server, plugins (for example an audit plugin), and the SQL query itself can access and process those values.
AI-written summary · about
related talks
27mDesign Considerations for a simple Extension Framework For MySQL
44mAdventures in MySQL
41mSQL Injection Isn't Dead: Smuggling Queries at the Protocol Level
30mDriving Innovation in MySQL with Extensions
52mThe Wire Protocol
33mPlugins in MariaDB and MySQL — So What’s in It for Me?
40mMaking the most out of MySQL
55mProxySQL Use Case Scenarios