mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
http_private: stored procedure: use VARBINARY(20) for peer_id
This commit is contained in:
parent
9fd1306b2e
commit
1cdd5bde5b
2 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
IN p_peer_id CHAR(40),
|
||||
-- Peer ID. VARBINARY since it can be any bytes according to spec.
|
||||
IN p_peer_id VARBINARY(20),
|
||||
-- Event (started/stopped/completed) (can be NULL)
|
||||
IN p_event VARCHAR(9),
|
||||
-- Bytes uploaded. Passed directly from request.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue