summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-01 14:46:10 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-01 14:59:27 +0200
commit40efffafd9f0025a6c3e2a9c594c475ef5b26b51 (patch)
tree942679fab6f21c2e1f159978883b49607a3c484d /django
parent9dc13f41b5c80941d4873ce0791b83afd8f7c1ca (diff)
[3.0.x] Fixed typo in BulkInsertMapper constant name.
Backport of 67e7dffe9543aff259f63c8f12d15642fe7be100 from master
Diffstat (limited to 'django')
-rw-r--r--django/db/backends/oracle/utils.py4
1 files 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,
}