Hi Mats, The length encodings can actually be zero or one in the row packets. You may have a 0-length string or a 1-byte string/enum/some other type. There may be other places (through extensions) that also may need to represent a 0/1 length as well.
-Eric On Thu, Oct 16, 2008 at 11:30:38AM +0200, Mats Kindahl wrote: > Hi Eric, > > It seems like the length can never be zero or one, you can use the length > encoding that I outlined in the post below. The difference compared to the way > you handle the encoding is that it instead reserves the smallest lengths, > leaving the high range of length for representing an actual length. > > http://mysqlmusings.blogspot.com/2008/08/missing-pieces-in-protobuf-binary-log.html > > Just my few cents, > Mats Kindahl _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

