1
0
mirror of https://github.com/django/django.git synced 2025-10-25 14:46:09 +00:00

Fixed #882 -- Fixed bug when doing django-admin.py sqlclear with SQLite. Thanks, ye7cakf02

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2005-11-25 04:27:50 +00:00
parent 3ddf250f91
commit 69f8840900
2 changed files with 2 additions and 0 deletions

View File

@@ -187,6 +187,7 @@ def get_sql_delete(mod):
# Close database connection explicitly, in case this output is being piped
# directly into a database client, to avoid locking issues.
cursor.close()
db.db.close()
return output[::-1] # Reverse it, to deal with table dependencies.