Yes (I fixed both in fact).
On Mon, Oct 28, 2013 at 7:10 PM, Mathieu D'Amours <math...@damours.org>wrote: > Great, then I guess the same issue applies for [4.2.5.2. Rows]. > > Le Oct 28, 2013 à 10:17 AM, Sylvain Lebresne <sylv...@datastax.com> a > écrit : > > > On Sat, Oct 26, 2013 at 8:07 PM, Mathieu D'Amours <math...@damours.org > >wrote: > > > >> Hello, > >> > >> I'm currently implementing an Erlang driver for Cassandra's binary > >> protocol v2. Most of it is straightforward, but I came across this part > in > >> [4.1.4. QUERY]: > >> > >>> <flags> is a [byte] whose bits define the options for this query and > >>> in particular influence what the remainder of the message contains. > >>> A flag is set if the bit corresponding to its `mask` is set. > >> Supported > >>> flags are, given there mask: > >>> 0x01 : ... > >>> 0x02 : ... > >>> 0x03 : ... > >>> 0x04 : ... > >> > >> Does that mean that the 0x01 flag is set if `1 << 0` is set? and 0x03 is > >> set if `1 << 2` is set? > >> > > > > This is what it means, but really that's a typo. The "mask" values should > > read 0x01, 0x02, 0x04, 0x08 and 0x10. I'll fix the spec. > > > > -- > > Sylvain > > > > > >> > >> Thanks in advance > >> > >> Mathieu > >