Hi,
anybody noticed that the mysql store is broken in gnunet 0.7.2? Here is
a quick patch that fixes the problems for me.
tested with mysql v5.
regards,
David
--
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
--- mysql.c 2007/06/20 18:35:37 1.1
+++ mysql.c 2007/06/20 19:38:25
@@ -656,12 +656,12 @@
SNPRINTF(limit,
512,
"SELECT SQL_NO_CACHE * FROM gn070"
- " %s WHERE expire > %llu AND anonLevel == 0 AND type != %d",
+ " %%s WHERE expire > %%llu AND anonLevel = 0 AND type != %d",
ONDEMAND_BLOCK);
else
strcpy(limit,
"SELECT SQL_NO_CACHE * FROM gn070"
- " %s WHERE expire > %llu AND anonLevel == 0");
+ " %s WHERE expire > %llu AND anonLevel = 0");
return iterateHelper(type,
limit,
iter,
_______________________________________________
Help-gnunet mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnunet