Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added docstring forgotten in 56252e7.

  • Loading branch information...
commit a6222af0ed94f807180b02f762c6011b368444a5 1 parent 459cfb5
@shaib shaib authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 django/db/backends/oracle/
10 django/db/backends/oracle/
@@ -717,6 +717,16 @@ def oracle_version(self):
def version_has_default_introspection_bug(self):
+ """
+ Some versions of Oracle -- we've seen this on and suspect
+ it goes back -- have a weird bug where, when an integer column is
+ defined with a default, its precision is later reported on introspection
+ as 0, regardless of the real precision. For Django introspection, this
+ means that such columns are reported as IntegerField even if they are
+ really BigIntegerField or BooleanField.
+ The bug is solved in Oracle and up.
+ """
return self.oracle_full_version < ''

0 comments on commit a6222af

Please sign in to comment.
Something went wrong with that request. Please try again.