From 970367f78d5bd15a39064cc878094ca1df0c1b17 Mon Sep 17 00:00:00 2001 From: root p2p-next-02 Date: Sun, 7 Aug 2011 21:06:19 +0300 Subject: [PATCH] ppf: Update insert rules in SQL files for tranfer_directions table. --- ppf/sql/p2p-log-mysql.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ppf/sql/p2p-log-mysql.sql b/ppf/sql/p2p-log-mysql.sql index 8e35fef..8f6f8c9 100644 --- a/ppf/sql/p2p-log-mysql.sql +++ b/ppf/sql/p2p-log-mysql.sql @@ -137,12 +137,12 @@ INSERT INTO btclients(name, language, url, dht_support, streaming_support) INSERT INTO btclients(name, language, url, dht_support, streaming_support) VALUES('Mainline', 'Python', TRUE, FALSE); --- -- insert into `transfer_directions` table --- direction = 0 -> receive (from peer) --- direction = 1 -> send (to peer) --- --- +INSERT INTO transfer_directions(value) VALUES('receive'); +INSERT INTO transfer_directions(value) VALUES('send'); + +) ENGINE=InnoDB; + -- insert into `message_types` table -- -- 2.20.1