MySQL 9.1.0
Source Code Documentation
Code paths

This section details how the server executes some statements, to illustrate how different parts work together.

Note that this overall view might take some shortcuts, hiding some details or taking liberties with the notations, to present the whole code structure in a comprehensible way.