From 0a18b32b2fd14a466f35052039221e50f18809c9 Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu Date: Fri, 16 Apr 2010 17:16:48 +0300 Subject: [PATCH] ppf: update run_sample script to new locations; moved .genfkey command in p2p-log-sqlite.sql to end - error message is still present --- ppf/log-parser/libtorrent/run_sample | 2 +- ppf/sql/p2p-log-sqlite.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ppf/log-parser/libtorrent/run_sample b/ppf/log-parser/libtorrent/run_sample index e0973c9..b757069 100755 --- a/ppf/log-parser/libtorrent/run_sample +++ b/ppf/log-parser/libtorrent/run_sample @@ -7,7 +7,7 @@ rm -f $DB_NAME # create database pushd . &> /dev/null -cd ../../db && ./db_init ../../log-parser/libtorrent/$DB_NAME +cd ../../db && ./db_init ../log-parser/libtorrent/$DB_NAME popd &> /dev/null # fill database with test data diff --git a/ppf/sql/p2p-log-sqlite.sql b/ppf/sql/p2p-log-sqlite.sql index b4616fd..e1d233f 100644 --- a/ppf/sql/p2p-log-sqlite.sql +++ b/ppf/sql/p2p-log-sqlite.sql @@ -60,8 +60,6 @@ create table verbose_messages ( length integer check (length between 0 and 10000000), listen_port integer check(listen_port between 0 and 65535)); -.genfkey --exec - -- insert BitTorrent clients in `btclients` table insert into btclients(name, language, dht, streaming) @@ -76,3 +74,5 @@ insert into btclients(name, language, dht, streaming) values('Aria', 'C', 1, 0); insert into btclients(name, language, dht, streaming) values('Mainline', 'Python', 1, 0); + +.genfkey --exec -- 2.20.1