Changes between Initial Version and Version 2 of Ticket #36111


Ignore:
Timestamp:
Jan 18, 2025, 1:40:41 PM (7 hours ago)
Author:
Jacob Walls
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36111

    • Property Has patch set
  • Ticket #36111 – Description

    initial v2  
    88Traceback (most recent call last):
    99  File "/django/source/tests/backends/tests.py", line 80, in test_last_executed_query_without_previous_query
    10     connection.ops.last_executed_query(cursor, "SELECT %s;", (Value(1),))
     10    connection.ops.last_executed_query(cursor, "SELECT %s;", (1,))
    1111  File "/django/source/django/db/backends/oracle/operations.py", line 330, in last_executed_query
    1212    statement = statement.replace(
     
    2525 from django.db.backends.signals import connection_created
    2626 from django.db.backends.utils import CursorWrapper
    27 +from django.db.models import Value
    2827 from django.db.models.sql.constants import CURSOR
    2928 from django.test import (
     
    3635+            if connection.vendor == "oracle":
    3736+                cursor.statement = None
    38 +            connection.ops.last_executed_query(cursor, "SELECT %s;", (Value(1),))
     37+            connection.ops.last_executed_query(cursor, "SELECT %s;", (1,))
    3938 
    4039     def test_debug_sql(self):
Back to Top