Changes between Version 1 and Version 2 of Ticket #34659
- Timestamp:
- Jun 16, 2023, 8:47:28 AM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34659 – Description
v1 v2 1 To test whether a mysql server has the zoninfo database loaded (feature name: `has_zoneinfo_database`), the [ following code](https://github.com/django/django/blob/1fe0b167af3611cca79e8a8092ee929312193c6f/django/db/backends/mysql/base.py#L410)is run:1 To test whether a mysql server has the zoninfo database loaded (feature name: `has_zoneinfo_database`), the [https://github.com/django/django/blob/1fe0b167af3611cca79e8a8092ee929312193c6f/django/db/backends/mysql/base.py#L410 following code] is run: 2 2 3 3 … … 8 8 9 9 10 However, this test is not actually used (i.e. there is no condition on the feature being True) when [ generating sql](https://github.com/django/django/blob/main/django/db/backends/mysql/operations.py#L94), despite the fact that the generated sql contains something that we know will evaluate to `NULL`10 However, this test is not actually used (i.e. there is no condition on the feature being True) when [https://github.com/django/django/blob/main/django/db/backends/mysql/operations.py#L94 generating sql], despite the fact that the generated sql contains something that we know will evaluate to `NULL` 11 11 12 12 This shows up when filtering like so: