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

Fixed #35373 -- Fixed a crash when indexing a generated field on SQLite. #18079

Merged

Conversation

charettes
Copy link
Member

@charettes charettes commented Apr 16, 2024

Trac ticket number

ticket-35373

Branch description

Generated fields have to be excluded from the INSERT query against the remade table including the index.

Thanks Moshe Dicker for the report.

tests/schema/tests.py Outdated Show resolved Hide resolved
@charettes charettes force-pushed the ticket-35376-sqlite-generated-field-remake branch 3 times, most recently from 5abb2a4 to cb04704 Compare April 16, 2024 12:46
@sarahboyce sarahboyce changed the title Fixed #35376 -- Fixed a crash when indexing a generated field on SQLite. Fixed #35373 -- Fixed a crash when indexing a generated field on SQLite. Apr 16, 2024
Generated fields have to be excluded from the INSERT query against the remade
table including the index.

Thanks Moshe Dicker for the report, David Sanders and Mariusz Felisiak for the
review.
@sarahboyce sarahboyce force-pushed the ticket-35376-sqlite-generated-field-remake branch from cb04704 to 6d9aaf4 Compare April 16, 2024 14:53
Copy link
Contributor

@sarahboyce sarahboyce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for picking this up! ⭐

@sarahboyce sarahboyce merged commit d048f0d into django:main Apr 16, 2024
15 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants