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

Deprecate allowed_index_name_length in DatabaseLimits #39083

Merged
merged 1 commit into from
Apr 30, 2020

Commits on Apr 29, 2020

  1. Deprecate allowed_index_name_length in DatabaseLimits

    `allowed_index_name_length` was used for internal temporary operations
    in SQLite3, since index name in SQLite3 must be globally unique and
    SQLite3 doesn't have ALTER TABLE feature (so it is emulated by creating
    temporary table with prefix).
    
    `allowed_index_name_length` was to reserve the margin for the prefix,
    but actually SQLite3 doesn't have a limitation for identifier name
    length, so the margin has removed at 36901e6.
    
    Now `allowed_index_name_length` is no longer relied on by any adapter,
    so I'd like to remove the internal specific method which is no longer
    used.
    kamipo committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    ab2d859 View commit details
    Browse the repository at this point in the history