Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SQLite temp table name must not contain dot #6315

Merged
merged 1 commit into from
May 3, 2024

Commits on Apr 6, 2024

  1. Build temporary table name for SQLite from unqualified table name

    In some situations, SqlitePlatform::getAlterTableSQL() relies on
    a temporary table to store data from the original table while it
    gets recreated. The name of this temporary table is built by
    concatenating a prefix (__temp__) with the name of the original table.
    When the original table name is foo.bar, there is an issue because
    then the temporary table name becomes __temp__foo.bar which implies schema.table. Use the unqualified table name
    so that the temporary table becomes __temp__bar.
    mvorisek committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    87289d4 View commit details
    Browse the repository at this point in the history