Skip to content

Commit 4d3f712

Browse files
committed
Minor fixes
1 parent a743beb commit 4d3f712

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

doc/dev_guide/internals/iproto/images/vclock.puml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ skinparam map {
77
BackgroundColor transparent
88
}
99

10-
map vclock {
11-
"replica_id1" => "LSN1",
12-
"replica_id2" => "LSN2",
13-
"..." => "..."
10+
map "**vclock**" as vclock {
11+
replica_id1 => LSN1
12+
replica_id2 => LSN2
13+
... => ...
1414
}
1515

1616
@enduml

doc/dev_guide/internals/iproto/images/vclock.svg

Lines changed: 5 additions & 5 deletions
Loading

doc/dev_guide/internals/iproto/keys.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Keys used in requests and responses
55
===================================
66

7-
This section describes ``iproto`` keys contained in iproto requests and responses.
7+
This section describes ``iproto`` keys contained in requests and responses.
88
The keys are Tarantool constants that are either defined or mentioned in the
99
`iproto_constants.h file <https://github.com/tarantool/tarantool/blob/master/src/box/iproto_constants.h>`_.
1010

@@ -706,7 +706,7 @@ IPROTO_METADATA
706706

707707
Code: 0x32.
708708

709-
Used with SQL within IPROTO_EXECUTE.
709+
Used with SQL within :ref:`IPROTO_EXECUTE <box_protocol-execute>`.
710710

711711
The key contains an array of column maps, with each column map containing
712712
at least IPROTO_FIELD_NAME (0x00) and MP_STR, and IPROTO_FIELD_TYPE (0x01) and MP_STR.
@@ -723,7 +723,10 @@ IPROTO_SQL_BIND
723723

724724
Code: 0x41.
725725

726-
IPROTO_SQL_BIND is an array that can contain values of any type, including MP_MAP.
726+
Used with SQL within :ref:`IPROTO_EXECUTE <box_protocol-execute>`.
727+
728+
IPROTO_SQL_BIND is an array of parameter values to match ? placeholders or :name placeholders.
729+
It can contain values of any type, including MP_MAP.
727730

728731
* Values that are not MP_MAP replace the ``?`` placeholders in the request.
729732

doc/dev_guide/internals/iproto/sql.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ In the iproto request, there would be no IPROTO_DATA and there would be two addi
9191
* ``34 00 = IPROTO_BIND_COUNT and MP_UINT = 0`` (there are no parameters to bind).
9292
* ``33 90 = IPROTO_BIND_METADATA and MP_ARRAY, size 0`` (there are no parameters to bind).
9393

94+
Here is what the request body looks like:
95+
9496
.. raw:: html
9597
:file: images/execute_example_2.svg
9698

0 commit comments

Comments
 (0)