namespaceSqlFaker\MySql\Generation\Rewrite
Namespaces 9§
| Alter | SqlFaker\MySql\Generation\Rewrite\Alter |
| Column | SqlFaker\MySql\Generation\Rewrite\Column |
| Expression | SqlFaker\MySql\Generation\Rewrite\Expression |
| Name | SqlFaker\MySql\Generation\Rewrite\Name |
| Option | SqlFaker\MySql\Generation\Rewrite\Option |
| Partition | SqlFaker\MySql\Generation\Rewrite\Partition |
| Query | SqlFaker\MySql\Generation\Rewrite\Query |
| Replication | SqlFaker\MySql\Generation\Rewrite\Replication |
| Routine | SqlFaker\MySql\Generation\Rewrite\Routine |
Classes 15§
| AlterDatabaseRule | sql/sql_yacc.yy ident_or_empty and alter_database_options compete for an initial option keyword that is also allowed as an identifier. |
| AlterEventRule | sql_yacc.yy/alter_event_stmt requires at least one event alteration after its name. |
| ConstraintEnforcementRule | sql/sql_yacc.yy column_attribute_list allows enforcement only immediately after a CHECK attribute. |
| FlushExportRule | sql_yacc.yy/opt_flush_lock requires a table list for FOR EXPORT, but not for WITH READ LOCK. |
| GeneratedColumnRule | parse_tree_column_attrs.h rejects SERIAL and storage/default attributes on generated fields. |
| InstanceActionRule | Implements the contextual identifier checks in sql_yacc.yy/alter_instance_action and opt_source_count. |
| IntegerContextRule | Completes source-defined integer contexts in sql_yacc.yy, including diagnostic decimal alternatives. |
| IntoClauseRule | PT_subquery rejects INTO in subqueries; sql_lex.cc/new_set_operation_query allows it only in the final SELECT.
sql_yacc.yy/view_query_block disables SELECT destinations throughout a view definition. |
| LoadSourceCountRule | sql_yacc.yy/opt_source_count requires the identifier COUNT and a nonzero NUM value. |
| RequiredAliasRule | sql_yacc.yy marks derived-table and JSON_TABLE aliases optional solely to provide a targeted diagnostic. |
| RewriteDefinitions | Declares structural repairs of MySQL parser diagnostic alternatives and ambiguity. |
| RoleGrantRule | sql_yacc.yy/grant and revoke share privilege syntax, but PT_grant_roles requires role identifiers without ON. |
| SetNamesRule | sql/sql_yacc.yy option_value_no_option_type declares NAMES equal expr solely to reject it. |
| SubqueryContextRule | PT_subquery and partition contextualization forbid subqueries in these statement expressions. |
| TransactionCompletionRule | sql_yacc.yy commit/rollback reject simultaneous affirmative CHAIN and RELEASE. |