DBAL-74: OracleSchemaManager - incorrectly detected the length of the string columns #1963

Closed
doctrinebot opened this Issue Dec 7, 2010 · 4 comments

2 participants

@doctrinebot

Jira issue originally created by user adrive:

When I create a VARCHAR2 column with the length specified in char units (VARCHAR2(10 CHAR)) instead of the default byte, the metadata stored in alltab_columns -> data_length is not 10, but 40. It is better to use char_length instead of data_length. Charlength is the same wheter the size unit is in CHAR or BYTE.

It is neccessary for me to use CHAR instead of the default BYTE, because I am using unicode charset.

@doctrinebot

Comment created by adrive:

milokmet/dbal@a5087e8

@doctrinebot

Comment created by @beberlei:

Can I appoint you to Doctrine's Oracle specialist? :-)

Thank you very much, I will merge that as soon as i have time.

@doctrinebot

Comment created by @beberlei:

Merged

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 7, 2015
@beberlei beberlei was assigned by doctrinebot Dec 7, 2015
@doctrinebot doctrinebot added this to the 2.0-RC5 milestone Dec 7, 2015
@doctrinebot doctrinebot closed this Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment