mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
http_private: use BINARY(20) for p_peer_id
This commit is contained in:
parent
4b456cc668
commit
e96dd55c5d
1 changed files with 2 additions and 2 deletions
|
|
@ -38,8 +38,8 @@ CREATE OR REPLACE PROCEDURE aquatic_announce_v1 (
|
||||||
IN p_user_token VARCHAR(255),
|
IN p_user_token VARCHAR(255),
|
||||||
-- Hex-encoded info hash
|
-- Hex-encoded info hash
|
||||||
IN p_info_hash CHAR(40),
|
IN p_info_hash CHAR(40),
|
||||||
-- Peer ID. VARBINARY since it can be any bytes according to spec.
|
-- Peer ID. BINARY since it can be any bytes according to spec.
|
||||||
IN p_peer_id VARBINARY(20),
|
IN p_peer_id BINARY(20),
|
||||||
-- Event (started/stopped/completed) (can be NULL)
|
-- Event (started/stopped/completed) (can be NULL)
|
||||||
IN p_event VARCHAR(9),
|
IN p_event VARCHAR(9),
|
||||||
-- Bytes uploaded. Passed directly from request.
|
-- Bytes uploaded. Passed directly from request.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue