Skip to content

Commit

Permalink
Removed the mysql_old backend. It smells bad and has no friends.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Jul 18, 2008
1 parent d261c1d commit c681f40
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 362 deletions.
Empty file.
215 changes: 0 additions & 215 deletions django/db/backends/mysql_old/base.py

This file was deleted.

14 changes: 0 additions & 14 deletions django/db/backends/mysql_old/client.py

This file was deleted.

28 changes: 0 additions & 28 deletions django/db/backends/mysql_old/creation.py

This file was deleted.

96 changes: 0 additions & 96 deletions django/db/backends/mysql_old/introspection.py

This file was deleted.

1 change: 0 additions & 1 deletion django/test/utils.py
Expand Up @@ -140,7 +140,6 @@ def create_test_db(verbosity=1, autoclobber=False):
'postgresql': get_postgresql_create_suffix, 'postgresql': get_postgresql_create_suffix,
'postgresql_psycopg2': get_postgresql_create_suffix, 'postgresql_psycopg2': get_postgresql_create_suffix,
'mysql': get_mysql_create_suffix, 'mysql': get_mysql_create_suffix,
'mysql_old': get_mysql_create_suffix,
}.get(settings.DATABASE_ENGINE, lambda: '')() }.get(settings.DATABASE_ENGINE, lambda: '')()
if settings.TEST_DATABASE_NAME: if settings.TEST_DATABASE_NAME:
TEST_DATABASE_NAME = settings.TEST_DATABASE_NAME TEST_DATABASE_NAME = settings.TEST_DATABASE_NAME
Expand Down
10 changes: 5 additions & 5 deletions docs/settings.txt
Expand Up @@ -278,8 +278,8 @@ DATABASE_ENGINE
Default: ``''`` (Empty string) Default: ``''`` (Empty string)


The database backend to use. The build-in database backends are The database backend to use. The build-in database backends are
``'postgresql_psycopg2'``, ``'postgresql'``, ``'mysql'``, ``'mysql_old'``, ``'postgresql_psycopg2'``, ``'postgresql'``, ``'mysql'``, ``'sqlite3'``, and
``'sqlite3'``, and ``'oracle'``. ``'oracle'``.


In the Django development version, you can use a database backend that doesn't In the Django development version, you can use a database backend that doesn't
ship with Django by setting ``DATABASE_ENGINE`` to a fully-qualified path (i.e. ship with Django by setting ``DATABASE_ENGINE`` to a fully-qualified path (i.e.
Expand Down Expand Up @@ -1029,7 +1029,7 @@ The character set encoding used to create the test database. The value of this
string is passed directly through to the database, so its format is string is passed directly through to the database, so its format is
backend-specific. backend-specific.


Supported for the PostgreSQL_ (``postgresql``, ``postgresql_psycopg2``) and MySQL_ (``mysql``, ``mysql_old``) backends. Supported for the PostgreSQL_ (``postgresql``, ``postgresql_psycopg2``) and MySQL_ (``mysql``) backends.


.. _PostgreSQL: http://www.postgresql.org/docs/8.2/static/multibyte.html .. _PostgreSQL: http://www.postgresql.org/docs/8.2/static/multibyte.html
.. _MySQL: http://www.mysql.org/doc/refman/5.0/en/charset-database.html .. _MySQL: http://www.mysql.org/doc/refman/5.0/en/charset-database.html
Expand All @@ -1044,8 +1044,8 @@ Default: ``None``
The collation order to use when creating the test database. This value is The collation order to use when creating the test database. This value is
passed directly to the backend, so its format is backend-specific. passed directly to the backend, so its format is backend-specific.


Only supported for ``mysql`` and ``mysql_old`` backends (see `section 10.3.2`_ Only supported for the ``mysql`` backend (see `section 10.3.2`_ of the MySQL
of the MySQL manual for details). manual for details).


.. _section 10.3.2: http://www.mysql.org/doc/refman/5.0/en/charset-database.html .. _section 10.3.2: http://www.mysql.org/doc/refman/5.0/en/charset-database.html


Expand Down

0 comments on commit c681f40

Please sign in to comment.