From: root p2p-next-02 Date: Sun, 7 Aug 2011 18:06:19 +0000 (+0300) Subject: ppf: Update insert rules in SQL files for tranfer_directions table. X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=970367f78d5bd15a39064cc878094ca1df0c1b17;p=cs-p2p-next.git ppf: Update insert rules in SQL files for tranfer_directions table. --- 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 --