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
This commit is contained in:
Ian Kelly 2007-12-01 18:50:43 +00:00
parent 4a3084f3fc
commit c750f01b48
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ class DatabaseOperations(BaseDatabaseOperations):
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):