Re: [Django] #34544: DBMS_LOB.SUBSTR() is unnecessary for "IS NULL" condition on Oracle.

1 view
Skip to first unread message

Django

unread,
May 8, 2023, 2:52:10 AM5/8/23
to django-...@googlegroups.com
#34544: DBMS_LOB.SUBSTR() is unnecessary for "IS NULL" condition on Oracle.
-------------------------------------+-------------------------------------
Reporter: Michael Smith | Owner: Mariusz
| Felisiak
Type: Bug | Status: assigned
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: Oracle isnull lob | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* owner: Jatin-tec => Mariusz Felisiak
* status: new => assigned
* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/16835 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/34544#comment:17>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 8, 2023, 1:34:56 PM5/8/23
to django-...@googlegroups.com
#34544: DBMS_LOB.SUBSTR() is unnecessary for "IS NULL" condition on Oracle.
-------------------------------------+-------------------------------------
Reporter: Michael Smith | Owner: Mariusz
| Felisiak
Type: Bug | Status: closed

Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Release blocker | Resolution: fixed

Keywords: Oracle isnull lob | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"1586a09b7949bbb7b0d84cb74ce1cadc25cbb355" 1586a09]:
{{{
#!CommitTicketReference repository=""
revision="1586a09b7949bbb7b0d84cb74ce1cadc25cbb355"
Fixed #34544 -- Avoided DBMS_LOB.SUBSTR() wrapping with IS NULL condition
on Oracle.

Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.

Thanks Michael Smith for the report.

This also reverts commit 1e4da439556cdd69eb9f91e07f99cf77997e70d2.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34544#comment:18>

Django

unread,
May 8, 2023, 1:35:51 PM5/8/23
to django-...@googlegroups.com
#34544: DBMS_LOB.SUBSTR() is unnecessary for "IS NULL" condition on Oracle.
-------------------------------------+-------------------------------------
Reporter: Michael Smith | Owner: Mariusz
| Felisiak
Type: Bug | Status: closed
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: Oracle isnull lob | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"e0d8981139cd329962e509efb575fdfb2dad4073" e0d89811]:
{{{
#!CommitTicketReference repository=""
revision="e0d8981139cd329962e509efb575fdfb2dad4073"
[4.2.x] Fixed #34544 -- Avoided DBMS_LOB.SUBSTR() wrapping with IS NULL
condition on Oracle.

Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.

Thanks Michael Smith for the report.

This also reverts commit 1e4da439556cdd69eb9f91e07f99cf77997e70d2.

Backport of 1586a09b7949bbb7b0d84cb74ce1cadc25cbb355 from main
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34544#comment:19>

Reply all
Reply to author
Forward
0 new messages