Ticket #3620: ticket-3620.diff

File ticket-3620.diff, 1.1 KB (added by Michael Radziej <mir@…>, 18 years ago)

patch

  • django/core/management.py

    From nobody Mon Sep 17 00:00:00 2001
    From: Michael Radziej <mir@noris.de>
    Date: Mon Mar 19 15:30:34 2007 +0100
    Subject: [PATCH] mysql flush
    
    Refreshed patch mysql-flush.
    (Base: 6059571fab263a7cf3b490f736f506c27d896662)
    (Last: 9d46737afa67fd9ba14af02a0de1090411364333)
    
    ---
    
     django/core/management.py |    1 +
     1 files changed, 1 insertions(+), 0 deletions(-)
    
    base 887f4fc9e0dba200c1c748dbb6988ac4b67d996f
    last 91e38c3c6e0f1aba1ac36a016a897897c781db44
    diff --git a/django/core/management.py b/django/core/management.py
    index b52e133095d0e4d6cfe179c79be8c9e953a598fd..cd1c3d8eac6fdf58548ad8af3ee32ee0c2230158 100644
    a b Type 'yes' to continue, or 'no' to cance  
    729729            cursor = connection.cursor()
    730730            for sql in sql_list:
    731731                cursor.execute(sql)
     732                transaction.commit()
    732733        except Exception, e:
    733734            sys.stderr.write(style.ERROR("""Error: Database %s couldn't be flushed. Possible reasons:
    734735  * The database isn't running or isn't configured correctly.
Back to Top