Skip to content

Commit 49d4749

Browse files
author
Кирилл Безуглый
committed
feat: add more IPROTO types
1 parent f799f2c commit 49d4749

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- tlua::LuaTable::metatable which is a better alternative to the existing `tlua::LuaTable::get_or_create_metatable`
1010
- `ffi::tarantool::box_schema_version` and `ffi::tarantool::box_session_id` functions
1111
- `network::protocol::SyncIndex::get` method
12+
- `network::protocol::codec::{LegacyCall, Nop, Prepare, Begin, Commit, Rollback}` variants
1213

1314
### Changed
1415

tarantool/src/network/protocol/codec.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,19 @@ pub enum IProtoType {
6363
Replace = 3,
6464
Update = 4,
6565
Delete = 5,
66-
// LegacyCall = 6,
66+
/// Deprecated in Tarantool 1.6 with name `IPROTO_CALL_16`.
67+
/// Superseeded by `IPROTO_CALL`, see [`IProtoType::Call`].
68+
LegacyCall = 6,
6769
Auth = 7,
6870
Eval = 8,
6971
Upsert = 9,
7072
Call = 10,
7173
Execute = 11,
74+
Nop = 12,
75+
Prepare = 13,
76+
Begin = 14,
77+
Commit = 15,
78+
Rollback = 16,
7279
// ...
7380
Ping = 64,
7481
// ...

0 commit comments

Comments
 (0)