Issue Details (XML | Word | Printable)

Key: CORE-3716
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jason Wharton
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.
Firebird Core

ARRAY of VARCHAR not utilizing the length indicator byte pair

Created: 04/Jan/12 02:41 AM   Updated: 17/Feb/12 11:11 PM
Component/s: Engine
Affects Version/s: None
Fix Version/s: None

Environment: Any environment.

 Description  « Hide
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?

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jason Wharton added a comment - 17/Feb/12 11:11 PM

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.