[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37608 - gnunet/src/psycstore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37608 - gnunet/src/psycstore |
Date: |
Fri, 29 Jul 2016 16:33:34 +0200 |
Author: christophe.genevey
Date: 2016-07-29 16:33:34 +0200 (Fri, 29 Jul 2016)
New Revision: 37608
Modified:
gnunet/src/psycstore/plugin_psycstore_mysql.c
gnunet/src/psycstore/test_plugin_psycstore.c
Log:
fix fragment_select function
Modified: gnunet/src/psycstore/plugin_psycstore_mysql.c
===================================================================
--- gnunet/src/psycstore/plugin_psycstore_mysql.c 2016-07-29 10:23:54 UTC
(rev 37607)
+++ gnunet/src/psycstore/plugin_psycstore_mysql.c 2016-07-29 14:33:34 UTC
(rev 37608)
@@ -1155,6 +1155,21 @@
int ret = GNUNET_SYSERR;
int sql_ret;
+ if(NULL == plugin->mc)
+ {
+ fprintf(stderr, "bla\n");
+ }
+
+ if(NULL == stmt)
+ {
+ fprintf(stderr, "blo\n" );
+ }
+
+ if(NULL == params)
+ {
+ fprintf(stderr, "toot\n" );
+ }
+
sql_ret = GNUNET_MY_exec_prepared (plugin->mc,
stmt,
params);
Modified: gnunet/src/psycstore/test_plugin_psycstore.c
===================================================================
--- gnunet/src/psycstore/test_plugin_psycstore.c 2016-07-29 10:23:54 UTC
(rev 37607)
+++ gnunet/src/psycstore/test_plugin_psycstore.c 2016-07-29 14:33:34 UTC
(rev 37608)
@@ -267,6 +267,7 @@
GNUNET_OK == db->fragment_get (db->cls, &channel_pub_key,
fragment_id, fragment_id,
&ret_frags, fragment_cb, &fcls));
+
GNUNET_assert (fcls.n == 1);
struct GNUNET_MULTICAST_MessageHeader *msg1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37608 - gnunet/src/psycstore,
gnunet <=