MySQL 8.0 Reference Manual Including MySQL NDB Cluster 8.0

7.5.4 Query Attribute Components

As of MySQL 8.0.23, a component service provides access to query attributes (see Section 11.6, “Query Attributes”). The query_attributes component uses this service to provide access to query attributes within SQL statements.

Developers who wish to incorporate the same query-attribute component service used by query_attributes should consult the mysql_query_attributes.h file in a MySQL source distribution.