gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14981 - gnunet/src/datastore


From: gnunet
Subject: [GNUnet-SVN] r14981 - gnunet/src/datastore
Date: Fri, 15 Apr 2011 12:07:05 +0200

Author: grothoff
Date: 2011-04-15 12:07:05 +0200 (Fri, 15 Apr 2011)
New Revision: 14981

Modified:
   gnunet/src/datastore/plugin_datastore_mysql.c
Log:
fixes

Modified: gnunet/src/datastore/plugin_datastore_mysql.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_mysql.c       2011-04-15 10:02:28 UTC 
(rev 14980)
+++ gnunet/src/datastore/plugin_datastore_mysql.c       2011-04-15 10:07:05 UTC 
(rev 14981)
@@ -657,7 +657,7 @@
     }
   if (! ( (pc == 0) && (-1 != (int) ft) && (va_arg (ap, int) == -1) ) )
     {
-      GNUNET_break (0);
+      GNUNET_assert (0);
       return GNUNET_SYSERR;
     }
   if (mysql_stmt_bind_param (s->statement, qbind))
@@ -1465,14 +1465,11 @@
                     struct NextRequestClosure *nrc)
 {
   struct Plugin *plugin = cls;
-  unsigned long long nt;
 
-  nt = (unsigned long long) nrc->now.abs_value;
   return prepared_statement_run_select (plugin,
                                        plugin->select_replication, 
-                                       6, nrc->rbind, 
+                                       7, nrc->rbind, 
                                        &return_ok, NULL,
-                                       MYSQL_TYPE_LONGLONG, &nt, GNUNET_YES, 
                                        -1);
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]