Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARRAY of VARCHAR not utilizing the length indicator byte pair [CORE3716] #4064

Open
firebird-automations opened this issue Jan 4, 2012 · 1 comment

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @jasonwharton

When working with an array of VARCHAR the two-byte length indicator seems to be working in some other way than a regular VARCHAR buffer works via the XSQLVAR structure. The first two bytes of the data are taken as part of the string and there doesn't seem to be a way to indicate the length of the string within the buffer. It is also necessary to allocate the 2 additional bytes, I just cannot figure out how they are to be worked with. The array_desc_dtype comes back as blr_varying or blr_varying2.

Perhaps I am just not understanding how this is supposed to work?

@firebird-automations
Copy link
Collaborator Author

Commented by: @jasonwharton

Bump.

I am trying to get my support for Array columns PERFECTED. I would very much appreciate this issue getting some time and attention. Also, I'm willing to go into the sources myself and look things over if someone will point me in the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant