Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c681f40

Browse files
committed
Removed the mysql_old backend. It smells bad and has no friends.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent d261c1d commit c681f40

File tree

10 files changed

+8
-362
lines changed

10 files changed

+8
-362
lines changed

‎django/db/backends/mysql_old/__init__.py‎

Whitespace-only changes.

‎django/db/backends/mysql_old/base.py‎

Lines changed: 0 additions & 215 deletions
This file was deleted.

‎django/db/backends/mysql_old/client.py‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎django/db/backends/mysql_old/creation.py‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

‎django/db/backends/mysql_old/introspection.py‎

Lines changed: 0 additions & 96 deletions
This file was deleted.

‎django/test/utils.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ def create_test_db(verbosity=1, autoclobber=False):
140140
'postgresql': get_postgresql_create_suffix,
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:
146145
TEST_DATABASE_NAME = settings.TEST_DATABASE_NAME

‎docs/settings.txt‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ DATABASE_ENGINE
278278
Default: ``''`` (Empty string)
279279

280280
The 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

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

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

10341034
.. _PostgreSQL: http://www.postgresql.org/docs/8.2/static/multibyte.html
10351035
.. _MySQL: http://www.mysql.org/doc/refman/5.0/en/charset-database.html
@@ -1044,8 +1044,8 @@ Default: ``None``
10441044
The collation order to use when creating the test database. This value is
10451045
passed 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).
1047+
Only supported for the ``mysql`` backend (see `section 10.3.2`_ of the MySQL
1048+
manual for details).
10491049

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /