MySQL 8.4.2
Source Code Documentation
Legacy C++ Coding Guidelines of MySQL Server

This section covers guidelines for C++ code for the MySQL server, old code only.

(New code should follow Google C++ coding style.) The guidelines do not necessarily apply for other projects such as MySQL Connector/J or Connector/ODBC.