Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a PL/SQL syntax bug causing manage.py sqlall to fail when piped to

sqlplus, introduced in [5950].


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c750f01b48ac9d541067dd86a2ab31e1141639cc 1 parent 4a3084f
@ikelly ikelly authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  django/db/backends/oracle/base.py
View
3  django/db/backends/oracle/base.py
@@ -47,7 +47,8 @@ def autoinc_sql(self, table, column):
BEGIN
SELECT %(sq_name)s.nextval
INTO :new.%(col_name)s FROM dual;
- END;/""" % locals()
+ END;
+ /""" % locals()
return sequence_sql, trigger_sql
def date_extract_sql(self, lookup_type, field_name):
Please sign in to comment.
Something went wrong with that request. Please try again.