Changes between Version 1 and Version 2 of Ticket #34659


Ignore:
Timestamp:
Jun 16, 2023, 8:47:28 AM (18 months ago)
Author:
Klaas van Schelven
Comment:

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:
     1To 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:
    22
    33
     
    88
    99
    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`
     10However, 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`
    1111
    1212This shows up when filtering like so:
Back to Top