Skip to content
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...
1 parent 4a3084f commit c750f01b48ac9d541067dd86a2ab31e1141639cc @ikelly ikelly committed
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):

0 comments on commit c750f01

Please sign in to comment.
Something went wrong with that request. Please try again.