Subject | Re: [ib-support] How can I inspect BLR? |
---|---|
Author | Ann W. Harrison |
Post date | 2001-07-26T21:44:51Z |
At 02:22 PM 7/26/2001 -0700, Jason Wharton wrote:
it just works. In practice, gpre (and others, I expect) order the fields
in a message by size to minimize the impact of alignment.
All fields that are an even multiple of eight come first,
Then all fields that are a multiple of four,
Then two
Then the others.
Remember that Cstring is actually requested length + 1 and varchar
is requested length + 2.
Regards,
Ann
www.ibphoenix.com
We have answers.
>I also have a BLR sample application that shows you how to write a BLRThere's no fixed way of handling message field alignment - in theory,
>client so you can take full advantage of Interbase capabilities. It's still
>a bit rough though as I have not been able to figure out how the message
>field alignment in the buffers works under certain combinations. We will
>probably need to examine the sources to figure this out.
it just works. In practice, gpre (and others, I expect) order the fields
in a message by size to minimize the impact of alignment.
All fields that are an even multiple of eight come first,
Then all fields that are a multiple of four,
Then two
Then the others.
Remember that Cstring is actually requested length + 1 and varchar
is requested length + 2.
Regards,
Ann
www.ibphoenix.com
We have answers.