[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9676 - GNUnet/src/applications/dhtlog_mysql
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9676 - GNUnet/src/applications/dhtlog_mysql |
Date: |
Wed, 2 Dec 2009 20:51:31 +0100 |
Author: nevans
Date: 2009-12-02 20:51:31 +0100 (Wed, 02 Dec 2009)
New Revision: 9676
Modified:
GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c
GNUnet/src/applications/dhtlog_mysql/dhtlog_test.c
Log:
fixes for dht logger
Modified: GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c
===================================================================
--- GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c 2009-12-02 19:33:11 UTC
(rev 9675)
+++ GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c 2009-12-02 19:51:31 UTC
(rev 9676)
@@ -102,6 +102,7 @@
"`nodeuid` int(10) unsigned NOT NULL auto_increment,"
"`trialuid` int(10) unsigned NOT NULL,"
"`nodeid` varchar(255) NOT NULL,"
+ "`nodebits` blob NOT NULL,"
"PRIMARY KEY (`nodeuid`)"
") ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1"))
return GNUNET_SYSERR;
@@ -132,6 +133,7 @@
"`dhtkeyuid` int(10) unsigned NOT NULL,"
"`from_node` int(10) unsigned NOT NULL,"
"`to_node` int(10) unsigned NOT NULL,"
+ "`dvhops` int(10) unsigned NOT NULL,"
"PRIMARY KEY (`queryuid`)"
") ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1"))
return GNUNET_SYSERR;
Modified: GNUnet/src/applications/dhtlog_mysql/dhtlog_test.c
===================================================================
--- GNUnet/src/applications/dhtlog_mysql/dhtlog_test.c 2009-12-02 19:33:11 UTC
(rev 9675)
+++ GNUnet/src/applications/dhtlog_mysql/dhtlog_test.c 2009-12-02 19:51:31 UTC
(rev 9676)
@@ -64,13 +64,14 @@
ret =
api->insert_trial (&trialuid, i, 5, .75, .25, 0, 0, 0, 0, 0, 0, 0, 0, bps,
"");
- fprintf (stderr, "Trial uid is %llu\n", trialuid);
if (ret != GNUNET_OK)
{
return ret;
}
+ fprintf (stderr, "Trial uid is %llu\n", trialuid);
+
ret = api->insert_node (&nodeuid, &p1);
ret = api->insert_node (&nodeuid, &p2);
ret = api->insert_node (&nodeuid, &p3);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9676 - GNUnet/src/applications/dhtlog_mysql,
gnunet <=