Ticket #20785: db_backends_oracle_base.diff
File db_backends_oracle_base.diff, 669 bytes (added by , 11 years ago) |
---|
-
django/db/backends/oracle/base.py
diff --git a/django/db/backends/oracle/base.py b/django/db/backends/oracle/base.py index 2d51d24..e018ee2 100644
a b class DatabaseWrapper(BaseDatabaseWrapper): 578 578 cursor.execute("SELECT 1 FROM DUAL WHERE DUMMY %s" 579 579 % self._standard_operators['contains'], 580 580 ['X']) 581 except utils.DatabaseError:581 except (utils.DatabaseError, DatabaseError): 582 582 self.operators = self._likec_operators 583 583 else: 584 584 self.operators = self._standard_operators