From 1c0e540ff0a0c94a0274df17a3454e10fe87c62d Mon Sep 17 00:00:00 2001 From: Konstantin Osipov <kostja.osipov@gmail.com> Date: Thu, 17 Mar 2011 00:50:54 +0300 Subject: [PATCH] doc/box-protocol.txt: expand on <data> definition. Define what field data is. --- doc/box-protocol.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/box-protocol.txt b/doc/box-protocol.txt index 991485ff1f..718774c7a2 100644 --- a/doc/box-protocol.txt +++ b/doc/box-protocol.txt @@ -163,6 +163,17 @@ <field> ::= <int32_varint><data> +; Tarantool understands only 3 field types: unsigned 4-byte +; int, unsigned 8-byte int and an octet string. +; Even this type awareness is very limited: it's only used when +; the field participates in an index. For example, when a numeric +; 32-bit index is defined on a field, and a non-32-bit value +; is supplied for that field, an ERR_CODE_BAD_PARAMS +; is returned. +; + +<data> ::= <int8>+ + ; ; Compressed integer ; -- GitLab