Skip to main content

execute

Function execute 

Source
pub fn execute(
    opts: &SchemaOptions,
    writer: &mut dyn Write,
) -> Result<(), IdbError>
Expand description

Extract schema and reconstruct DDL from tablespace metadata.

For MySQL 8.0+ tablespaces with SDI, extracts the data dictionary JSON, parses it into typed structs, and generates CREATE TABLE DDL. For pre-8.0 tablespaces without SDI, scans INDEX pages to infer basic index structure.