List:Falcon Storage Engine« Previous MessageNext Message »
From:Ann W. Harrison Date:December 5 2008 3:51pm
Subject:Re: trailing spaces and compound keys and tabs
View as plain text  
A couple of corrections...
>
> 
> What Falcon does is pad each leading field out with spaces to a

It first removes all trailing spaces for leading string fields and
zeros for leading numeric fields, then pads the field with the
indexPadByte  for that field which is either 0x20 (space) or
0x0, depending on the result of the isString() test on the field.

        indexPadByte= (isString()) ? ' ' : 0;

> multiple of four bytes 

For Falcon, a RUN is six bytes - five bytes of data and one byte
of segment position.


Best,

Ann
Thread
trailing spaces and compound keys and tabsAnn W. Harrison4 Dec
  • Re: trailing spaces and compound keys and tabsKevin Lewis4 Dec
    • Re: trailing spaces and compound keys and tabsAnn W. Harrison4 Dec
  • Re: trailing spaces and compound keys and tabsAnn W. Harrison5 Dec