]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- introduce an optimizing type _NativeUnicodeMixin to oracle plus supporting
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 12 Mar 2010 18:30:38 +0000 (18:30 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 12 Mar 2010 18:30:38 +0000 (18:30 +0000)
commit1b169548642b4ced5b25510d35fdd28af0c06c7e
tree717b72a5040cd5582f5ad5e027ab8028603d2368
parentb4f1fbc70874256e3f78d8bcc597a3589d728b49
- introduce an optimizing type _NativeUnicodeMixin to oracle plus supporting
changes to Enum/SchemaType to re-support adaptation of string types.
This approach can be adapted by "conditional" unicode returning dialects
(i.e. pyodbc and possibly mxodbc) to remove the overhead
of isinstance(value, unicode) calls when the dialect returned type is
of dbapi.UNICODE, dbapi.NVARCHAR, etc.
lib/sqlalchemy/dialects/oracle/cx_oracle.py
lib/sqlalchemy/types.py
test/dialect/test_oracle.py
test/sql/test_query.py
test/sql/test_types.py