From c750f01b48ac9d541067dd86a2ab31e1141639cc Mon Sep 17 00:00:00 2001 From: Ian Kelly Date: Sat, 1 Dec 2007 18:50:43 +0000 Subject: [PATCH] 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 --- django/db/backends/oracle/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/django/db/backends/oracle/base.py b/django/db/backends/oracle/base.py index 496fc26306..24fda78427 100644 --- a/django/db/backends/oracle/base.py +++ b/django/db/backends/oracle/base.py @@ -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):