http_private: use BINARY(20) for p_peer_id

This commit is contained in:
Joakim Frostegård 2022-04-04 13:04:59 +02:00
parent 4b456cc668
commit e96dd55c5d

View file

@ -38,8 +38,8 @@ CREATE OR REPLACE PROCEDURE aquatic_announce_v1 (
IN p_user_token VARCHAR(255),
-- Hex-encoded info hash
IN p_info_hash CHAR(40),
-- Peer ID. VARBINARY since it can be any bytes according to spec.
IN p_peer_id VARBINARY(20),
-- Peer ID. BINARY since it can be any bytes according to spec.
IN p_peer_id BINARY(20),
-- Event (started/stopped/completed) (can be NULL)
IN p_event VARCHAR(9),
-- Bytes uploaded. Passed directly from request.