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:
parent
4a3084f3fc
commit
c750f01b48
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue