Tag

query preparation

1 views collected around this technical thread.

Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 19, 2023 · Databases

How MySQL Expands the '*' in SELECT Statements: Source Code Analysis

This article explains how MySQL 8.0.32 expands the '*' in a SELECT statement into all table columns, detailing the lexical parsing, query preparation, and the functions Item_asterisk::itemize, Query_block::prepare, Query_block::setup_wild, and insert_fields through source‑code excerpts.

Database InternalsSQLSource Code
0 likes · 10 min read
How MySQL Expands the '*' in SELECT Statements: Source Code Analysis