Django

Code

Changeset 7949

Show
Ignore:
Timestamp:
07/18/08 12:38:53 (3 months ago)
Author:
mtredinnick
Message:

Removed the mysql_old backend. It smells bad and has no friends.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/test/utils.py

    r7940 r7949  
    141141            'postgresql_psycopg2': get_postgresql_create_suffix, 
    142142            'mysql': get_mysql_create_suffix, 
    143             'mysql_old': get_mysql_create_suffix, 
    144143        }.get(settings.DATABASE_ENGINE, lambda: '')() 
    145144        if settings.TEST_DATABASE_NAME: 
  • django/trunk/docs/settings.txt

    r7859 r7949  
    279279 
    280280The database backend to use. The build-in database backends are 
    281 ``'postgresql_psycopg2'``, ``'postgresql'``, ``'mysql'``, ``'mysql_old'``, 
    282 ``'sqlite3'``, and ``'oracle'``. 
     281``'postgresql_psycopg2'``, ``'postgresql'``, ``'mysql'``, ``'sqlite3'``, and 
     282``'oracle'``. 
    283283 
    284284In the Django development version, you can use a database backend that doesn't 
     
    10301030backend-specific. 
    10311031 
    1032 Supported for the PostgreSQL_ (``postgresql``, ``postgresql_psycopg2``) and MySQL_ (``mysql``, ``mysql_old``) backends. 
     1032Supported for the PostgreSQL_ (``postgresql``, ``postgresql_psycopg2``) and MySQL_ (``mysql``) backends. 
    10331033 
    10341034.. _PostgreSQL: http://www.postgresql.org/docs/8.2/static/multibyte.html 
     
    10451045passed directly to the backend, so its format is backend-specific. 
    10461046 
    1047 Only supported for ``mysql`` and ``mysql_old`` backends (see `section 10.3.2`_ 
    1048 of the MySQL manual for details). 
     1047Only supported for the ``mysql`` backend (see `section 10.3.2`_ of the MySQL 
     1048manual for details). 
    10491049 
    10501050.. _section 10.3.2: http://www.mysql.org/doc/refman/5.0/en/charset-database.html 
  • django/trunk/tests/modeltests/fixtures/models.py

    r6355 r7949  
    5959# Database flushing does not work on MySQL with the default storage engine 
    6060# because it requires transaction support. 
    61 if settings.DATABASE_ENGINE not in ('mysql', 'mysql_old')
     61if settings.DATABASE_ENGINE != 'mysql'
    6262    __test__['API_TESTS'] += \ 
    6363""" 
  • django/trunk/tests/modeltests/lookup/models.py

    r7477 r7949  
    381381 
    382382 
    383 if settings.DATABASE_ENGINE not in ('mysql', 'mysql_old')
     383if settings.DATABASE_ENGINE != 'mysql'
    384384    __test__['API_TESTS'] += r""" 
    385385# grouping and backreferences 
  • django/trunk/tests/modeltests/transactions/models.py

    r7477 r7949  
    2626building_docs = getattr(settings, 'BUILDING_DOCS', False) 
    2727 
    28 if building_docs or settings.DATABASE_ENGINE not in ('mysql', 'mysql_old')
     28if building_docs or settings.DATABASE_ENGINE != 'mysql'
    2929    __test__['API_TESTS'] += """ 
    3030# the default behavior is to autocommit after each save() action