[2pt] feedback: Binary protocol: incorrect request type specified #2442
Labels
factual error
Factual error in functionality description
reference
[location] Tarantool manual, Reference part
server
[area] Task relates to Tarantool's server (core) functionality
Uh oh!
There was an error while loading. Please reload this page.
Product: Tarantool
Audience/target: developers
Root document: https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/
SME: @ Gerold103
Details
The examples on the page suggest that IPROTO_SQL_BIND is an array. Looks like there is an error in the description (integer instead of array).
@ Gerold103 also considers it crucial to indicate the formats of the values in the array:
IPROTO_SQL_BIND - это массив значений, где каждое из них имеет любой тип. Если это что угодно кроме MP_MAP, то они подставятся вместо '?'. Если встречается значение MP_MAP, то оно должно иметь формат вида {[name] = value}, где name - это имя именованного параметра из запроса. Пример:
https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/#box-protocol-execute
According to description, IPROTO_SQL_BIN is an array, not int.
The text was updated successfully, but these errors were encountered: