diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2018-02-01 02:02:45 +0100 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2018-01-31 20:02:45 -0500 |
commit | f73f821143d5934780e3b76f90ff9a7110c509f7 (patch) | |
tree | ad70216b7807a9c9eab07d9775d713d0cb3abd8d /django/db/backends/mysql/base.py | |
parent | 92fe161e699e1d4e8377a7d6c0130f368f245a2f (diff) | |
download | django-f73f821143d5934780e3b76f90ff9a7110c509f7.tar.gz |
Removed uneeded comment in DatabaseWrapper.check_constraints() on SQLite/MySQL backends.
Diffstat (limited to 'django/db/backends/mysql/base.py')
-rw-r--r-- | django/db/backends/mysql/base.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py index 4f7abf5bef..1e6563a5b5 100644 --- a/django/db/backends/mysql/base.py +++ b/django/db/backends/mysql/base.py @@ -286,13 +286,6 @@ class DatabaseWrapper(BaseDatabaseWrapper): `disable_constraint_checking()` and `enable_constraint_checking()`, to determine if rows with invalid references were entered while constraint checks were off. - - Raise an IntegrityError on the first invalid foreign key reference - encountered (if any) and provide detailed information about the - invalid reference in the error message. - - Backends can override this method if they can more directly apply - constraint checking (e.g. via "SET CONSTRAINTS ALL IMMEDIATE") """ with self.cursor() as cursor: if table_names is None: |