aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_mysql.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-04-15 10:07:05 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-04-15 10:07:05 +0000
commitb93b982c3a007b4f08194d6bc53102e5d836191e (patch)
tree3b1ff6f42fba203d478e9d56a1779f9b1277fad6 /src/datastore/plugin_datastore_mysql.c
parenta5a4b942e11f9205db9fef87ecb3a68466441efb (diff)
fixes
git-svn-id: https://gnunet.org/svn/gnunet@14981 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_mysql.c')
-rw-r--r--src/datastore/plugin_datastore_mysql.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c
index 84f9d313ca..fdbb9d1b58 100644
--- a/src/datastore/plugin_datastore_mysql.c
+++ b/src/datastore/plugin_datastore_mysql.c
@@ -657,7 +657,7 @@ init_params (struct Plugin *plugin,
}
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 @@ replication_prepare (void *cls,
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);
}