summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Kelly <ian.g.kelly@gmail.com>2007-12-01 18:50:43 +0000
committerIan Kelly <ian.g.kelly@gmail.com>2007-12-01 18:50:43 +0000
commitc750f01b48ac9d541067dd86a2ab31e1141639cc (patch)
tree788021fe731323bcb589ab499325ddc56adb00ce
parent4a3084f3fca7732ab6ac9a5dea9006b413e7489a (diff)
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
-rw-r--r--django/db/backends/oracle/base.py3
1 files changed, 2 insertions, 1 deletions
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):