Skip to content

Optimize TableModifier #5456

@pawelsalawa

Description

@pawelsalawa

The TableModifier currently applies modifications suboptimally, because if the table name is not changing, it copies data twice (to temp table and back to new version of the table), while it should be sufficient to create final table schema with temp name, drop original table and rename temp name to target name.

This is recommended at https://sqlite.org/lang_altertable.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestnon-functionalDoes not bring any new function, but still has to be done. It may be code refactoring, cleanup, etc.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions