Commits

Mike Bayer committed 56ef4d6

- removed LONG_STRING, LONG_BINARY from "binary" types, so type objects
don't try to read their values as LOB [ticket:622], [ticket:751]

Comments (0)

Files changed (2)

 - firebird
     - supports_sane_rowcount() set to False due to ticket #370 (right way).
     - fixed reflection of Column's nullable property.
+- oracle
+    - removed LONG_STRING, LONG_BINARY from "binary" types, so type objects
+      don't try to read their values as LOB [ticket:622], [ticket:751]
       
 0.3.10
 - general

lib/sqlalchemy/databases/oracle.py

         self.auto_setinputsizes = auto_setinputsizes
         self.auto_convert_lobs = auto_convert_lobs
         if self.dbapi is not None:
-            self.ORACLE_BINARY_TYPES = [getattr(self.dbapi, k) for k in ["BFILE", "CLOB", "NCLOB", "BLOB", "LONG_BINARY", "LONG_STRING"] if hasattr(self.dbapi, k)]
+            self.ORACLE_BINARY_TYPES = [getattr(self.dbapi, k) for k in ["BFILE", "CLOB", "NCLOB", "BLOB"] if hasattr(self.dbapi, k)]
         else:
             self.ORACLE_BINARY_TYPES = []