]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The Oracle dialect will issue VARCHAR type definitions
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Mar 2010 22:26:11 +0000 (22:26 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Mar 2010 22:26:11 +0000 (22:26 +0000)
commit6acc9e6d9e88bc529a5147f6daa93c4c4e6de64c
treec70da959040fd877729562233eb542cfa9a72f1b
parent03573c0517dc27f90f1a07ef8ad67a0692977a24
- The Oracle dialect will issue VARCHAR type definitions
using character counts, i.e. VARCHAR2(50 CHAR), so that
the column is sized in terms of characters and not bytes.
Column reflection of character types will also use
ALL_TAB_COLUMNS.CHAR_LENGTH instead of
ALL_TAB_COLUMNS.DATA_LENGTH.  Both of these behaviors take
effect when the server version is 9 or higher - for
version 8, the old behaviors are used.  [ticket:1744]
CHANGES
lib/sqlalchemy/dialects/oracle/base.py
test/dialect/test_oracle.py
test/sql/test_compiler.py