ppf: Update insert rules in SQL files for message_types table.
authorroot p2p-next-02 <root@p2p-next-02.grid.pub.ro>
Sun, 7 Aug 2011 18:14:11 +0000 (21:14 +0300)
committerroot p2p-next-02 <root@p2p-next-02.grid.pub.ro>
Sun, 7 Aug 2011 18:14:11 +0000 (21:14 +0300)
ppf/sql/p2p-log-mysql.sql

index 8f6f8c9..d85e8dd 100644 (file)
@@ -145,4 +145,14 @@ INSERT INTO transfer_directions(value) VALUES('send');
 ) ENGINE=InnoDB;
 
 -- insert into `message_types` table
---
+
+INSERT INTO message_types(value) VALUES('CHOKE');
+INSERT INTO message_types(value) VALUES('UNCHOKE');
+INSERT INTO message_types(value) VALUES('INTERESTED');
+INSERT INTO message_types(value) VALUES('NOT_INTERESTED');
+INSERT INTO message_types(value) VALUES('HAVE');
+INSERT INTO message_types(value) VALUES('BITFIELD');
+INSERT INTO message_types(value) VALUES('REQUEST');
+INSERT INTO message_types(value) VALUES('PIECE');
+INSERT INTO message_types(value) VALUES('CANCEL');
+INSERT INTO message_types(value) VALUES('DHT_PORT');