django1/django/db/backends/oracle
Shai Berger 2e1ed5f33c Fixed #23649 -- Made Oracle test-db creation drop test-user earlier when needed
Checked database destruction for ORA-29857, which happens when objects of
some types are left over in an old test database (notably, such objects
are created by the GIS backend). When this happens, we can resolve the
issue by dropping the test-user (if we are allowed to).

An alternative approach, to just switch the order of creation (so that,
if the test user exists and can be dropped, it is always dropped before
the tablespace) was considered; but since the user creation depends on
the tablespace, this would necessitate separating the dropping of the user
from its creation -- a change I am reluctant to make.

Thanks Josh Smeaton and Tim Graham for reviews.
2014-10-17 04:46:15 +03:00
..
__init__.py Added half of oracle backend. (The other half is all of the special-casing in django/db/models/query.py, which I will be refactoring.) Refs #1990. Thanks, Jason Huggins and tzellman 2006-05-26 05:37:21 +00:00
base.py Fixed #22738 -- made finer distinctions for when Boolean is not detected on Oracle 2014-09-27 09:49:50 +03:00
client.py Fixed #22234 -- Replaced OS-specific code with subprocess.call() in dbshell. 2014-08-04 09:21:03 -04:00
compiler.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00
creation.py Fixed #23649 -- Made Oracle test-db creation drop test-user earlier when needed 2014-10-17 04:46:15 +03:00
introspection.py Made get_table_list return a TableInfo named tuple 2014-09-23 20:13:31 +02:00
schema.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00