summaryrefslogtreecommitdiff
path: root/django/db/backends/oracle/utils.py
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:46:10 +0200
commit67e7dffe9543aff259f63c8f12d15642fe7be100 (patch)
treebe9eb72d2d472125ac367b0fc29503cc0682bea8 /django/db/backends/oracle/utils.py
parentdc890bef5ad8e9fccce55f3e64af72103ea6e8c1 (diff)
downloaddjango-67e7dffe9543aff259f63c8f12d15642fe7be100.tar.gz
Fixed typo in BulkInsertMapper constant name.
Diffstat (limited to 'django/db/backends/oracle/utils.py')
-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 74ea0c2508..2bfebb0d55 100644
--- a/django/db/backends/oracle/utils.py
+++ b/django/db/backends/oracle/utils.py
@@ -54,7 +54,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)'
@@ -74,6 +74,6 @@ class BulkInsertMapper:
'PositiveIntegerField': NUMBER,
'PositiveSmallIntegerField': NUMBER,
'SmallIntegerField': NUMBER,
- 'TextField': CBLOB,
+ 'TextField': CLOB,
'TimeField': TIMESTAMP,
}