Commit 69f88409 authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

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
parent 3ddf250f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -80,6 +80,7 @@ answer newbie questions, and generally made Django that much better:
    Milton Waddams
    Rachel Willmer <http://www.willmer.com/kb/>
    wojtek
    ye7cakf02@sneakemail.com


A big THANK YOU goes to:
+1 −0
Original line number Diff line number Diff line
@@ -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.