mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user