internal/

directory
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: Apache-2.0

Directories

Path Synopsis
Package compat holds TiDB compatibility facts shared by the loader and the transformation rules: which collations and engines TiDB accepts, how MariaDB-only names map onto them, and a collector for migration warnings.
Package compat holds TiDB compatibility facts shared by the loader and the transformation rules: which collations and engines TiDB accepts, how MariaDB-only names map onto them, and a collector for migration warnings.
Package config defines the YAML-backed configuration for the transformation engine: directories, rule toggles, and charset/collation mappings.
Package config defines the YAML-backed configuration for the transformation engine: directories, rule toggles, and charset/collation mappings.
Package parser loads SQL text into TiDB parser ASTs (after token-level preprocessing of MariaDB-only syntax the parser rejects) and restores ASTs back into formatted SQL.
Package parser loads SQL text into TiDB parser ASTs (after token-level preprocessing of MariaDB-only syntax the parser rejects) and restores ASTs back into formatted SQL.
Package rules implements the individual MariaDB-to-TiDB transformation rules applied by the engine, plus the registry that orders them.
Package rules implements the individual MariaDB-to-TiDB transformation rules applied by the engine, plus the registry that orders them.
Package transformer wires the parser and rules together: the Engine applies rules to parsed statements, and DirProcessor runs the pipeline over directory trees in parallel.
Package transformer wires the parser and rules together: the Engine applies rules to parsed statements, and DirProcessor runs the pipeline over directory trees in parallel.
Package utils holds small shared helpers, currently the process-wide zap logger.
Package utils holds small shared helpers, currently the process-wide zap logger.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL