From 40efffafd9f0025a6c3e2a9c594c475ef5b26b51 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 1 Oct 2019 14:46:10 +0200 Subject: [PATCH] [3.0.x] Fixed typo in BulkInsertMapper constant name. Backport of 67e7dffe9543aff259f63c8f12d15642fe7be100 from master --- django/db/backends/oracle/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/db/backends/oracle/utils.py b/django/db/backends/oracle/utils.py index 513ea5e82e..4617886d83 100644 --- a/django/db/backends/oracle/utils.py +++ b/django/db/backends/oracle/utils.py @@ -51,7 +51,7 @@ class Oracle_datetime(datetime.datetime): class BulkInsertMapper: BLOB = 'TO_BLOB(%s)' - CBLOB = 'TO_CLOB(%s)' + CLOB = 'TO_CLOB(%s)' DATE = 'TO_DATE(%s)' INTERVAL = 'CAST(%s as INTERVAL DAY(9) TO SECOND(6))' NUMBER = 'TO_NUMBER(%s)' @@ -71,6 +71,6 @@ class BulkInsertMapper: 'PositiveIntegerField': NUMBER, 'PositiveSmallIntegerField': NUMBER, 'SmallIntegerField': NUMBER, - 'TextField': CBLOB, + 'TextField': CLOB, 'TimeField': TIMESTAMP, }