- bool sqlcom_can_generate_row_events(const THD *thd)
- return (sql_command_flags[thd->lex->sql_command] &
通过 bzr annoate 来查找引入此代码的revision
MySQL server project not only includes source code for the server binary, but also includes some essential tools for installation, maintenance, access and test. Their source code are packed in different directories depend on their utilities.
* Server Source Code
Server code is divided into SQL and Engine parts.
- SQL Part
This part includes the source code for
@ Setting up the server and providing service to users.
@ Parsing SQL statements and then calling engine API to manipulate the data stored
in different engines. The API is defined by SQL Part and implemented by engines.
@ Other features that is not related to engines, e.g. Replication.
* Normal Build Methods For Users
In this step, I don’t intent to introduce the normal build methods. It is the responsibility of ‘MySQL Reference Manual’. In the reference manual, there are very clear descriptions about the topic in Chapter 2. Installing and Upgrading MySQL.
* Build Scripts For Developers
* Where Is MySQL Source Code
- MySQL Website
Both Binaries and Source Code can be found there.
Launchpad is recommended, as its code is in a bazaar repository. A few fantastic benefits are there.
* Extra Informations In Source Repository